Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.
/ vuejs-brunch Public archive
forked from nblackburn/vue-brunch

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

License

Notifications You must be signed in to change notification settings

bigfang/vuejs-brunch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%