Skip to content

Instantly share code, notes, and snippets.

@willywg
Last active July 13, 2017 22:40
Show Gist options
  • Save willywg/2ae907858ddf9b8a3735e8d138801d14 to your computer and use it in GitHub Desktop.
Save willywg/2ae907858ddf9b8a3735e8d138801d14 to your computer and use it in GitHub Desktop.
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