@nx/vue:setup-unocss
Adds the UnoCSS configuration files for a given Vue project and installs, if needed, the packages required for UnoCSS to work.
Adds the UnoCSS configuration files for a given Vue project and installs, if needed, the packages required for UnoCSS to work.
1nx generate setup-unocss ...
2By default, Nx will search for setup-unocss in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/vue:setup-unocss ...
2Show what will be generated without writing to disk:
1nx g setup-unocss ... --dry-run
2Initialize UnoCSS configuration for the my-app project.:
1nx g setup-unocss --project=my-app
2The name of the project to add the UnoCSS setup for.
Path to the project entry point relative to the workspace root. This option is only needed if the entrypoint location cannot be found automatically.
Skips formatting the workspace after the generator completes.
falseDo not add dependencies to package.json.