vue-cli-plugin-sass-resources

vue-cli plugin for sass-resources-loader

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-cli-plugin-sass-resources
351.0.25 years ago5 years agoMinified + gzip package size for vue-cli-plugin-sass-resources in KB

Readme

<img width="150" src="https://cdn.jsdelivr.net/gh/ExtensionEngine/vue-cli-plugin-sass-resources/media/logo.svg">

vue-cli-plugin-sass-resources
circleci build
status npm package
version github
license js @extensionengine
style
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