Though using Bulma with Next.js should be a piece of cake, it's not. It still needs few tweaks that we may need to talk in this article but it will short I swear. So let's get started with it.
Because Bulma use SASS, you may also have to install
Importing bulma to global CSS
Next we have to import bulma to global sytlesheet like this.
Or can either include all of it or whatever is required like this
Adding Next.js Config
(not required in Next.js 10.0<)
Now next step is to add config into your next config file as we are using SASS here. I have written another article on handling component level SASS in Next.js check it out
yarn add @zeit/next-sass
next.config.js, If you already don't have it.
Here is the repo to get you started fast:
Make sure you subscribe to get your knowledge about next.js up to dated. We publish a new article everyweek. See if you next time then.