A real-world boilerplate for Craft CMS 3 projects that leverages Wepback 5, Tailwind 2, PostCSS 8, and has a hot-reload dev environment. Now with dynamic imports, asynchronous chunk loading, and legacy vs modern browser support!
Hi I was trying to test out tailwind css but the javascript file is not buildings a css file. When I enter yarn dev, it only builds the app.js and the chunk-vendors.js file.
yarn build - actually creates a css file but it strips out all the tailwind css.
Do you have any suggestions on how to fix this problem?
@brianbier The default tailwind.config.js file includes purging unused styles by default - if you disable that feature and build again, you'll see output :)
Hi I was trying to test out tailwind css but the javascript file is not buildings a css file. When I enter yarn dev, it only builds the app.js and the chunk-vendors.js file.
yarn build - actually creates a css file but it strips out all the tailwind css.
Do you have any suggestions on how to fix this problem?