Using Next.JS with BulmaCSS
How to add BulmaCSS framework to a Next.JS project
Ygor Henrique··1 min read

Using BulmaCSS together with Next.JS is quite simple and just requires a few simple configuration steps:
Create a new Next.JS app
npx create-next-app@latest --typescript
Install Bulma via NPM
npm install bulma
Install sass via NPM
We need to enable Next.js built-in Sass support, and for that, we will need to install sass in our app.
npm install sass
Modify your global.css file
Since BulmaCSS mainly works with scss, we can modify the extension of our global.css file to global.scss .
Add Bulma to your new globals.css file
@import '../node_modules/bulma/bulma.sass';
You can add to the top of the file and delete the rest of the content as you will most likely not need it.
Modify your _app.tsx file
Now we modify our _app.tsx to load globals.scss instead of globals.css
Your app is now fully working with BulmaCSS. 🚀
More articles on programming, productivity, and life
Browse all articles →Related articles

cjavascriptprogramming
HTML to PDF API: Generate PDFs from HTML with PDF-API
How to generate PDF files from HTML content
·2 min read
httpprogramming
CURL or Postman requests as Mobile Clients: Android Phone, Tablet, iPad, iOS
How to simulate mobile client requests via CURL or Postman.
·1 min read
cnetprogramming
Avoiding Array Pitfalls in C# .NET
Efficient usage of basic types in C#
·9 min read