Vuejs brunch

Adds support to Brunch for pre-compiling single file Vue components.Based on vue-brunch plugin.

Version: 2.0.5 Updated: 09/01/2017

By: bigfang License: MIT

Downloads Last 30 Days: 49

Install

npm i vuejs-brunch
yarn add vuejs-brunch

Repository: https://github.com/bigfang/vuejs-brunch

CDNs

bundle.run: https://bundle.run/vuejs-brunch

jsDelivr: https://cdn.jsdelivr.net/npm/vuejs-brunch

unpkg: https://unpkg.com/vuejs-brunch

Vuejs Brunch

Adds support to Brunch for pre-compiling single file Vue components. Based on vue-brunch plugin.

Installation

npm install vuejs-brunch --save-dev

Once the plugin has been installed, you are all set.

Usage

When ever you include a .vue file in your project, Brunch will automatically compile and write the converted module into your applications script path.

Extracting CSS

To extract the CSS into files, simply include to extractCSS option in your Brunch config like so...

plugins: {
    vue: {
      extractCSS: true,
      out: '../public/styles/components.css'
    }
}

License

This component is licensed under MIT, see license.md for details.

Contributors



bigfang
commits

Dependencies


DevDependencies


Categories: Vue js
Tags: vuebrunch