vue-cli-plugin-sass-resources
v1.0.2
Published
vue-cli plugin for sass-resources-loader
Downloads
261
Readme
vue-cli-plugin-sass-resources
Vue CLI plugin for
sass-resources-loader
Usage
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-resources
Configure it by using vue.config.js
:
pluginOptions: {
sassResources: {
resources: './path/to/resource.scss';
}
}
Plugin options
resources
Path(s) to resource files
- type:
String|Array<String>
- required
scope
Plugin scope
- type:
Array
- default:
['scss', 'sass']
- optional