A simple Vue 2.0 Rollup setup for quick prototyping.
This is a project template for vue-cli.
npm install -g vue-cli
vue init thgh/vuejs-templates-rollup my-project
cd my-project
npm install
npm run dev
-
npm run dev
- watch for source changes
- livereload on bundle change
- serve on local dev server
-
npm run watch
- watch for source changes
-
npm run build
- Production build with HTML/CSS/JS minification.
- extract css
You can fork this repo to create your own boilerplate, and use it with vue-cli
:
vue init username/repo my-project