vue-cli-plugin-stylus-resources-loader

This package has been deprecated, please use vue-cli-plugin-style-resource-loader..

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-cli-plugin-stylus-resources-loader
0.1.104 years ago4 years agoMinified + gzip package size for vue-cli-plugin-stylus-resources-loader in KB

Readme

Introduction
Include style-resources-loader to your project easier.
Installation
vue add style-resources-loader
Config
Define your resources under pluginOptions in vue.config.js.
Example
const path = require('path')
module.exports = {
  pluginOptions: {
    'style-resources-loader': {
      'resources': [
        path.resolve(__dirname, 'src/styles/abstracts/variables.styl'),
        path.resolve(__dirname, 'src/styles/abstracts/mixins.styl'),
        path.resolve(__dirname, 'src/styles/abstracts/placeholders.styl')
      ]
    }
  }
}