Vue CLI plugin for
sass-resources-loader
Install with:
npm install --save-dev vue-cli-plugin-sass-resources
# or
yarn add --dev vue-cli-plugin-sass-resources
# or use `vue-cli` inside already created project
vue add sass-resourcesConfigure it by using vue.config.js:
pluginOptions: {
sassResources: {
resources: './path/to/resource.scss';
}
}Path(s) to resource files
- type:
String|Array<String> - required
Plugin scope
- type:
Array - default:
['scss', 'sass'] - optional