Closed corysimmons closed 7 years ago
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.
Figured it out:
// vue.config.js module.exports = { sass: { includePaths: [`src/assets/css`] } }
Now I can @import 'global'; from any file.
@import 'global';
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.