prime-cmd
v0.0.7
Published
prime-cmd is an unofficial CLI package for PrimeVue. The original beta will be released in the March of 2024.
Downloads
76
Readme
Welcome to Prime CLI!
prime-cmd is an unofficial CLI package for PrimeVue. The original beta will be released in the March of 2024.
Commands
| Command | Description | Options | | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | | prime vue install | Installs PrimeVue and imports it | Vite and Nuxt | | prime vue create | Creates a project for Vue | Vite and Nuxt | | prime vue preset | Downloads the tailwind-primevue presets to the current directory (if the cache is clear) | Vite and Nuxt | | prime vue update-presets | Downloads the latest tailwind-primevue presets to the cmd cache (Run the prime vue preset update command after update) | Vite and Nuxt | | prime vue clear-cache | Removes the cached preset files | Vite and Nuxt | | prime vue uninstall | Uninstalls cli | Vite and Nuxt | | prime translate-to-tailwind | Converts PrimeFlex classes to Tailwind CSS classes (Usable on multiple folders and files. E.g: ./src/components will check every folder and every file) | .js .ts .jsx .tsx .vue .html |
Installation
To install the Prime CLI, run the following command:
npm install -g prime-cmd
Or if you prefer using yarn
:
yarn global add prime-cmd
Commands
vue preset
Sets up your project with PrimeVue presets.
prime vue preset
vue set-unstyled
Configures the project to use unstyled components.
prime vue set-unstyled
vue update-presets
Updates the cached presets to the latest version.
prime vue update-presets
vue create
Creates a new project with a choice of using Vite or Nuxt as the underlying engine.
prime vue create
translate-to-tailwind
Converts PrimeFlex utility classes to the latest version within the project.
prime translate-to-tailwind
vue uninstall
Uninstalls PrimeVue and its associated configurations from the project.
prime vue uninstall
vue clear-cache
Clears the cache directory used by the CLI.
prime vue clear-cache
vue install
Installs PrimeVue and sets up the project based on the detected framework and engine (Vite or Nuxt).
prime vue install
Support
For any questions or issues, please open an issue on the GitHub repository or contact support.
Contributing
We welcome contributions to the Prime CLI. Please read our contributing guidelines before submitting a pull request.
License
Prime CLI is open-source software licensed under the MIT license.