UNPKG

ui-thing

Version:

CLI used to add Nuxt 3 components to a project

84 lines (53 loc) 1.41 kB
# UI Thing CLI ![Cover Image](https://ui-thing.behonbaker.com/cover.png) ## Credits - shadcn/ui - Radiv-Vue - TailwindCSS - Nuxt - Nuxt UI Thanks to the maintainers of the other third party libraries used in this project. ## 💸 Support Me If you can 😊 <a href="https://buymeacoffee.com/llehXIrI8g" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important" ></a> ## Getting Started - Create a Nuxt 3 project - Install the dependencies - Run the init command ```bash npx ui-thing@latest init ``` - Start the dev server ```bash npm run dev ``` - Add components to your project with the `add` command ```bash npx ui-thing@latest add ``` ## Commands ### `init` ```bash npx ui-thing@latest init ``` This command will install the dependencies and add the required configuration to your project. ### `add` ```bash npx ui-thing@latest add ``` This command will add the components to your project. ### `theme` ```bash npx ui-thing@latest theme ``` This command will add the theme to your project. ### `prettier` ```bash npx ui-thing@latest prettier ``` This command will add the prettier configuration to your project. ### `shortcuts` ```bash npx ui-thing@latest shortcuts ``` This command will add the `defineShortcuts` & `useShortcuts` composables to your project.