Tailwind 2.0 with Angular using ng-neat
See original GitHub issueHi Team,
I’ve just installed Tailwind 2.0 on my project and hit a number of errors. I’ve instead decided to create a new project from scratch to see if I can get it implemented into a fresh Angular project and work from there.
I created a new Angular project with the Angular CLI and then used ng-neat
(https://github.com/ngneat/tailwind) to install the prerequisites to get going. The error received upon trying to build (ng-serve
) is:
Error: Cannot read property 'flags' of undefined
Node is on version 14.15.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Setup TailwindCSS in Angular the easy way
The easiest way to use TailwindCSS in your Angular app with version less than 11.2.0 in my personal opinion is by using the...
Read more >Angular Ngneat Tailwind (forked) - StackBlitz
A angular-cli project based on rxjs, tslib, postcss, zone.js, tailwind, tailwindcss, autoprefixer, @angular/core, @angular/forms, @angular/common, ...
Read more >Tutorial: Add Tailwind CSS to Angular in under 3 minutes!
In this tutorial, I will show you how to add TailwindCSS to your Angular application using @ ngneat / tailwind.0:00 Introduction0:10 Installing ...
Read more >What is the exact solution of using Tailwind 2 with Angular 11 ...
Check this github.com/ngneat/tailwind. – Chellappan வ. Dec 19, 2020 at 17:23. Your issue seems to be in angular.json.
Read more >ngneat/tailwind - - Tailwind CSS integration for Angular.
ngneat /tailwind was made with tailwind CSS. ... Use Tailwind classes within any CSS-in-JS library. ... Figma library with Tailwind CSS v2 colors....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@RobinMalfait - The repo generated by @hiepxanh works (Thanks very much!), which is a great starting point for me (as all angular 9 ones failed from scratch). So feel free to close this issue and I’ll work with that repo as a baseline for the project and try to figure out what went wrong. Thanks for the time and responses all, much appreciated.
Thank you. A9 is what my production project is live on at the moment and I was hesitant about upgrading anything unnecessarily, especially if I’m not 100% sure it would resolve my errors with Tailwind. Do you think that’s the cause here? If so, I’ll try an update today 👍