vuejs/vueify

Import global scss?

corysimmons opened this issue · 1 comments

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.