-
Notifications
You must be signed in to change notification settings - Fork 68
CSS not loaded #69
Comments
Are you importing bulma? Right now you need to import bulma in your project
since bloomer *currently* is just a wrapper. So doesn't import bulma by
itself.
In future releases is going to be a styled-componentes library with his own
styles.
|
Appreciate the quick response. How do I load Bulma with import? Could not find it in your otherwise excellent documentation. A naive approach like |
Well... That's weird. If you're using SASS, you can import modules like:
If not, |
Sure! Here it is: https://github.com/kaspermarstal/x-rai-website. Run |
Hey, this seems to be a configuration error.
So, you need something for Please check this thread. Once that you have the correct loader, you're going to be able to import I'm going to close this issue since this is only a configuration problem with Next.js. Please tell us if you found your solution :) |
Thanks will try that and let you know! |
For those having a similar issue with the CSS not rendering when using create-react-app, this is the import that fixed it for me:
Referenced here: jgthms/bulma#388 (comment) |
@kaspermarstal Could you get this to work? |
The CSS is not loaded when using bloomer with next.js. Take a look at this example:
componentes/hero.js
layouts/body.js
pages/index.js
There are no errors in the dev console. The css from <style jsx global> in the Head component is loading properly, only the Bulma css is missing. I have installed bulma with npm. Loading manually with
<link href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.5.3/css/bulma.min.css" rel="stylesheet" />
. Any idea what I am missing?This is the components/head.js
The text was updated successfully, but these errors were encountered: