@olivierbelaud/nuxt-bulma-scss
v1.0.7
Published
Nuxt Bulma SCSS
Downloads
3
Readme
Bulma
Leverage bulma CSS.
Setup
- Add
@olivierbelaud/bulma
dependency using yarn or npm to your project - Add
@olivierbelaud/bulma
tomodules
section ofnuxt.config.js
{
modules: [
'@olivierbelaud/bulma'
]
}
- You will need to use postcss loader if you are not already using it.
build: {
/*
** You can extend webpack config here
*/
postcss: {
plugins: {
'postcss-preset-env': {
features: {
customProperties: false
}
}
}
},
extend(config, ctx) {
// Run ESLint on save
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/
})
}
}
}