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