tailwind
tailwind copied to clipboard
nx-setup not working
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
nx generate @ngneat/tailwind:nx-setup doesn't work. The option "Would you like to enable dark mode?" fails with the error
Property 'darkMode' does not match the schema. 'none' should be one of [object Object],[object Object],[object
Object].
Environment
angular/[email protected]
nrwl/[email protected]
ngneat/[email protected]
For Tooling issues:
- Node version: 14.15.4
- Platform: Windows
You can try this workaround meanwhile: https://github.com/ngneat/tailwind/issues/94#issuecomment-821761553
workaround did not work, i specified all parameters/arguments in cli and error still appears
Same here.
I tried the workaround as well, didn't work too.
I am working with a fresh project setup (30 minutes old). Any other ideas?
Same here.
I tried the workaround as well, didn't work too.
I am working with a fresh project setup (30 minutes old). Any other ideas?
Hello,
I find that specifying the complete set of options works:
$ nx generate @ngneat/tailwind:nx-setup --project=<your-main-app-name-here> --enableJit=true --darkMode=class --plugins=aspect-ratio,forms,line-clamp,typography
Note: The nx CLI was used in the command above.
Hope it helps.