0.1.10 • Published 6 years ago
vue-cli-plugin-stylus-resources-loader v0.1.10
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')
]
}
}
}