Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nblackburn/vue-brunch
Adds support to Brunch for pre-compiling single file Vue components.
https://github.com/nblackburn/vue-brunch
brunch vue
Last synced: about 2 months ago
JSON representation
Adds support to Brunch for pre-compiling single file Vue components.
- Host: GitHub
- URL: https://github.com/nblackburn/vue-brunch
- Owner: nblackburn
- License: mit
- Archived: true
- Created: 2016-03-04T00:15:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T20:17:34.000Z (over 6 years ago)
- Last Synced: 2024-04-27T00:40:58.515Z (8 months ago)
- Topics: brunch, vue
- Language: JavaScript
- Homepage:
- Size: 154 KB
- Stars: 78
- Watchers: 5
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-vue-cn - brunch-vue ★2 - Adds support to Brunch for pre-compiling single file Vue components. (Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) / Development Tools)
- awesome-vuejs - brunch-vue - Adds support to Brunch for pre-compiling single file Vue components. (Awesome Vue.js / Development Tools)
README
# Vue Brunch
Adds support to Brunch for pre-compiling single file Vue components.
## Installation
For 2.x support, use the master branch...
```bash
npm install vue-brunch --save-dev
```And for 1.x support use the 1.x branch...
```bash
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...
```javascript
plugins: {
vue: {
extractCSS: true,
out: '../public/styles/components.css'
}
}
```## License
This component is licensed under MIT, see [license.md](LICENSE.md) for details.
## Donations
[![](https://www.buymeacoffee.com/assets/img/custom_images/black_img.png)](https://buymeacoffee.com/nblackburn)