vue-cli-plugin-style-resources-loader

0.1.5 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.5
    37,477
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.5
    37,477
  • 0.1.4
    13,436
  • 0.1.3
    6,439
  • 0.1.2
    15
  • 0.1.1
    2
  • 0.1.0
    2

Package Sidebar

Install

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

Weekly Downloads

8,181

Version

0.1.5

License

MIT

Unpacked Size

3.35 kB

Total Files

6

Last publish

Collaborators

  • nguyenvanduocit