DEV Community

Discussion on: Setting up Tailwind and Purgecss with Gridsome Without Using Any Plugins

Collapse
 
skoontastic profile image
skoontastic

Hi Drew, thanks for the article. Used it successfully on a new project.

One thing that I found though, Tailwind changed its config file for v. 1.0 from tailwind.js to tailwind.config.js and actually doesn't need it to be specified on import any longer. So the import for the gridsome.config.js file would look like:

const tailwindcss = require("tailwindcss");

Collapse
 
drewtownchi profile image
Drew Town

Thanks Skoontastic. I can and will definitely go back and update this for 1.0 (hopefully next week). Thanks for reading and the comment!