Usage
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/remix:setup-tailwind ...
2
Show what will be generated without writing to disk:
1nx g setup-tailwind ... --dry-run
2
Examples
Generate a TailwindCSS config for your Remix app:
1g setup-tailwind --project=myapp
2
Options
project
Required
string
Pattern:
^[a-zA-Z].*$
The name of the project to add tailwind to
js
boolean
Default:
false
Generate a JavaScript config file instead of a TypeScript config file
skipFormat
Internal
boolean
Default:
false
Skip formatting files after generator runs