@nrwl/angular:setup-tailwind
Adds the Tailwind CSS configuration files for a given Angular project and installs, if needed, the packages required for Tailwind CSS to work.
Examples
The setup-tailwind
generator can be used to add Tailwind configuration to apps and publishable libraries.
To generate a standard Tailwind setup, just run the following command.
nx g @nrwl/angular:setup-tailwind myapp
Usage
nx generate setup-tailwind ...
By default, Nx will search for setup-tailwind
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:setup-tailwind ...
Show what will be generated without writing to disk:
nx g setup-tailwind ... --dry-run