tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

tailwind css and gatsby setup #382

Open ghost opened 4 years ago

ghost commented 4 years ago

I was reading this: https://www.gatsbyjs.org/docs/tailwind-css/#option-2-css-in-js and was trying to setup tailwind css in my gatbsy project

Compiling...
error There was an error trying to load the config "tailwind" for the macro imported from "tailwind.macro. Please see the error thrown for more information.
 ERROR  Failed to compile with 1 errors   

has anyone setup tailwind css in a gatsby project using css in js?

avanderpluijm commented 4 years ago

https://github.com/bradlc/babel-plugin-tailwind-components#options