DEV Community

Discussion on: How can i load sass files on nuxt with sass-loader ?

Collapse
 
silverman42 profile image
Sylvester Nkeze

Wow, several hours of neck pain and headaches which would have been avoided if i had just done this

module.exports={
 css: ['bulma','@/assets/custom.scss']
}

Instead of

module.exports={
 css: ['~bulma/bulma','@/assets/custom.scss']
}

Thanks a lot, Nathan. You are a life saver.

Collapse
 
nathanbland profile image
Nathan Bland

Glad I could help!