Import global scss?
corysimmons opened this issue · 1 comments
corysimmons commented
How to? I know it's possible with vue-loader but I'm stuck on Browserify.
Basically I'd like to be able to include vars, mixins, etc. into any Vue single-file-component.
corysimmons commented
Figured it out:
// vue.config.js
module.exports = {
sass: {
includePaths: [`src/assets/css`]
}
}Now I can @import 'global'; from any file.