Skip to content

Instantly share code, notes, and snippets.

@willywg
Last active Jul 13, 2017
Embed
What would you like to do?
Add Bulma Saas to Nuxt via npm

Add sass pre-procesor:

yarn add node-sass sass-loader -D

Add bulma

yarn add bulma

Edit nuxt.config.js and add:

css: [
  { src: '~assets/sass/main.sass', lang: 'sass' }
]

Make this sass file on assets/sass/main.sass:

$primary: #4c4c6e
@import "../../node_modules/bulma/bulma.sass"

Finally run:

yarn run dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment