vue-cli-plugin-stylus-resources-loader

0.1.10 • Public • Published

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')
      ]
    }
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i vue-cli-plugin-stylus-resources-loader

Weekly Downloads

17

Version

0.1.10

License

MIT

Unpacked Size

17.9 kB

Total Files

9

Last publish

Collaborators

  • nguyenvanduocit