bradlc / babel-plugin-tailwind-components

Use Tailwind with any CSS-in-JS library
MIT License
331 stars 25 forks source link

Loading tailwind config file #45

Open alejandrovasta opened 4 years ago

alejandrovasta commented 4 years ago

Hey folks! I am getting this message when building/running dev 🤔 do you know why I am seeing this?

There was an error trying to load the config "tailwind" for the macro imported from "tailwind.macro

Thanks in advance

rozaxe commented 4 years ago

Because apparently you did not config tailwind in your babel's macros config.

Here is the options you can provide in your babel-plugin-macros.config.js https://github.com/bradlc/babel-plugin-tailwind-components#options

alejandrovasta commented 4 years ago

Thanks it worked ;)