Vue Cli Plugin Style Resources Loader Save

Vue cli plugin to support style-resources-loader.

Project README

Introduction

FOSSA Status npm version

Add style-resources-loader to your project easier.

Installation

vue add style-resources-loader

Config

Define your resource's patterns under pluginOptions > style-resources-loader in file vue.config.js.

Name Data type Description
preProcessor string One of: sass, scss, stylus, less
patterns string, array Path to the resources you would like to inject

patterns

Please read more at patterns.

Example

const path = require('path')
module.exports = {
  pluginOptions: {
    'style-resources-loader': {
      'preProcessor': 'stylus',
      'patterns': [
        path.resolve(__dirname, './src/styles/abstracts/*.styl'),
      ]
    }
  }
}

License

FOSSA Status

Open Source Agenda is not affiliated with "Vue Cli Plugin Style Resources Loader" Project. README Source: nguyenvanduocit/vue-cli-plugin-style-resources-loader
Stars
59
Open Issues
2
Last Commit
2 years ago

Open Source Agenda Badge

Open Source Agenda Rating