pot-kit
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

pot-kit

Tool for installing cool and unstyled vue-components

Usage

Just run it using npx

npx pot-kit@latest add button

If you want to configure it you can add .pot-kit/installation.ts file in your project root directory:

// This config is used by default
export default {
    components: './src/components/ui/', // Path to directory for components
    composables: './src/composables/', // Path to directory for composables
    types: './src/types/pot-kit/', // Path to directory for types
    styles: './src/assets/css/ui/', // Path to directory for styles (used only by pot-kit-gen)

    // Replacements map for imports in components and composables
    imports: {
        '@': './src',
    },
    options: {
        prefix: 'pot', // Prefix for all components
        overwrite: false, // Overwrite existing files
        potServer: false, // Use our server instead of cloudflare cdn
    },
};

Use list command to see all available components (you can also check and play with then on our website (coming soon))

npx pot-kit@latest list

Done! Enjoy your new components and chill out B)

Package Sidebar

Install

npm i pot-kit

Weekly Downloads

22

Version

1.0.3

License

MIT

Unpacked Size

13 kB

Total Files

5

Last publish

Collaborators

  • kartofel-2834