vue-brunch

Adds support to Brunch for pre-compiling single file Vue components.
46,163 78
Install
npm install vue-brunch
Latest Version:2.0.3
Vue:2
License:MIT
Last Updated:May 11, 2018
Links: GitHub  ·  npm
Maintainer: nblackburn

Vue Brunch

Adds support to Brunch for pre-compiling single file Vue components.

Installation

For 2.x support, use the master branch...

npm install vue-brunch --save-dev

And for 1.x support use the 1.x branch...

npm install vue-brunch#1.x --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.

Donations

Related Packages

vanilla-back-to-top

Simple and tiny Back To Top button with no dependencies. Hides when on top, scro...

36,647 270
vue

The progressive JavaScript framework for building modern web UI.

588,019,132 54,801
vue
@vueuse/shared
372,738,348 22,398
@vueuse/core

Collection of essential Vue Composition Utilities

367,188,523 22,398
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

333,357,380 686

Version History

Version Released License
2.0.3 MIT
2.0.2 MIT
2.0.1 MIT
2.0.0 MIT
1.2.4 MIT