There are a few things you could adjust with this setup:
"Make a build of TailwindCSS" - you can remove that whole section.
There's actually no need to generate the Tailwind classes as the class conversions are all handled by twin.macro!
All you need to import is the base style file (import 'tailwindcss/dist/base.min.css';)
In the tailwind.config file, Twin only reads the theme and plugin values. The other values won't do anything with Twin.
Everything else is great! Thanks for writing this awesome article :)
Thank you very much for your advice. I already updated the post. I kept the configuration file of TailwindCSS because is more helpful if all we can see which things we can edit in TailwindCSS. By the way, I updated the GitHub repository and tomorrow the template for create-react-app will be available in NPM to use it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There are a few things you could adjust with this setup:
"Make a build of TailwindCSS" - you can remove that whole section.
There's actually no need to generate the Tailwind classes as the class conversions are all handled by twin.macro!
All you need to import is the base style file (import 'tailwindcss/dist/base.min.css';)
In the tailwind.config file, Twin only reads the
theme
andplugin
values. The other values won't do anything with Twin.Everything else is great! Thanks for writing this awesome article :)
Thank you very much for your advice. I already updated the post. I kept the configuration file of TailwindCSS because is more helpful if all we can see which things we can edit in TailwindCSS. By the way, I updated the GitHub repository and tomorrow the template for create-react-app will be available in NPM to use it.