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
27
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-cmdOr if you prefer using yarn:
yarn global add prime-cmdCommands
vue preset
Sets up your project with PrimeVue presets.
prime vue presetvue set-unstyled
Configures the project to use unstyled components.
prime vue set-unstyledvue update-presets
Updates the cached presets to the latest version.
prime vue update-presetsvue create
Creates a new project with a choice of using Vite or Nuxt as the underlying engine.
prime vue createtranslate-to-tailwind
Converts PrimeFlex utility classes to the latest version within the project.
prime translate-to-tailwindvue uninstall
Uninstalls PrimeVue and its associated configurations from the project.
prime vue uninstallvue clear-cache
Clears the cache directory used by the CLI.
prime vue clear-cachevue install
Installs PrimeVue and sets up the project based on the detected framework and engine (Vite or Nuxt).
prime vue installSupport
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.
