DEV Community

Discussion on: Setup TailwindCSS in Angular the easy way

Collapse
 
devpato profile image
Pato

you mean a monorepo?

Collapse
 
kristher1619 profile image
Kristher Vidal

Yes. 1 Angular Workspace with multiple projects.

Thread Thread
 
kristher1619 profile image
Kristher Vidal

Finally got it to working..

First I enabled purge mode while on develop environment. Also I am linking to the wrong directories.

So for monorepo with multiple projects, purge directory should point inside the projects directory

....
 purge: { enabled: true, content: ["./projects/admin/src/**/*.html", "./projects/admin/src/**/*.ts"] },
....
Enter fullscreen mode Exit fullscreen mode


`