Adds support to Brunch for pre-compiling single file Vue components. Based on vue-brunch plugin.
npm install vuejs-brunch --save-dev
Once the plugin has been installed, you are all set.
When ever you include a .vue
file in your project, Brunch will automatically compile
and write the converted module into your applications script path.
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'
}
}
This component is licensed under MIT, see license.md for details.