jlarmstrongiv / gatsby-tailwindcss-template

Template for Gatsby.js with TailwindCSS
MIT License
0 stars 0 forks source link

CSS Import in gatsby-browser #1

Closed jlarmstrongiv closed 4 years ago

jlarmstrongiv commented 4 years ago

https://jenniferwadella.com/blog/all-the-dumb-mistakes-i-made-building-my-first-gatsby-site

jlarmstrongiv commented 4 years ago

you should require css in the browser // /gatsby-browser.js require('bootstrap/dist/css/bootstrap.min.css') require("prismjs/themes/prism-okaidia.css") require('./src/assets/css/index.less')

jlarmstrongiv commented 4 years ago

https://github.com/gatsbyjs/gatsby/issues/23952#issuecomment-626288267

jlarmstrongiv commented 4 years ago

Be sure to remove the Example component, since its css overrides tailwind