@wastedondestiny/destiny-library
v1.6.3
Published
A Vue 3 component library and utilities for Destiny-related projects.
Readme
@wastedondestiny/destiny-library
A Vue 3 component library and utilities for Destiny-related projects.
Installation
npm install @wastedondestiny/destiny-libraryComponents
UI Components
- Collapsible - Expandable/collapsible content container
- DialogWindow - Modal dialog component
- Dropdown - Dropdown menu component
- ErrorToast - Toast notification for error messages
- FallbackImage - Image component with fallback support
- MarkdownContent - Render markdown content with syntax highlighting
- PlatformIcon - Display platform-specific icons
- Popup - Popup/overlay component
- ProjectMenu - Project navigation menu
- TheFooter - Footer component
- TheTooltip - Tooltip component with vue-tippy integration
Composables
Utilities
- clickOutside - Detect clicks outside an element
- konami - Konami code detection
- mediaQuery - Responsive media query helper
- google - Google integration utilities
- playwire - Playwire ad integration
Usage
import { Collapsible, DialogWindow, ErrorToast } from '@wastedondestiny/destiny-library'
import { useClickOutside, useKonami, useMediaQuery } from '@wastedondestiny/destiny-library'Development
# Install dependencies
npm install
# Start dev server
npm run dev
# Build library
npm run build
# Run tests
npm testPeer Dependencies
- Vue ^3.2.47
License
MIT
