vue-cli-plugin-stylus-resources-loader
v0.1.10
Published
This package has been deprecated, please use vue-cli-plugin-style-resource-loader..
Downloads
130
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')
]
}
}
}