Permalink
Browse files

fix: Rollup CLI example (vuejs#157)

  • Loading branch information...
FlandreDaisuki authored and znck committed Nov 25, 2017
1 parent 9387215 commit c7f25a9ee21a8646d9dd663d4cb2806df875d5ab
Showing with 14 additions and 2 deletions.
  1. +1 −1 example/README.md
  2. +13 −1 example/rollup.config.js
@@ -18,5 +18,5 @@ ls dist
```
cd example
npm i -g rollup
rollup -c --input Hello.vue --output dist/bundle.js
rollup -c --input Hello.vue
```
@@ -2,6 +2,18 @@

const vue = require('../dist/rollup-plugin-vue.common.js');
const buble = require('rollup-plugin-buble');

export default {
plugins: [ vue({compileTemplate: true}), buble() ],
name: 'helloRollupVue',
output: {
file: 'dist/bundle.js',
format: 'umd'
},
plugins: [
vue({
compileTemplate: true,
css: 'dist/bundle.css'
}),
buble()
]
};

0 comments on commit c7f25a9

Please sign in to comment.