Vue with Brunch
Overhauling for Vue.js 2.0, not ready for use yet.
A Brunch skeleton made with vuejs with the following plugins for SPA functionality:
- vue-resource
- vue-router
- vuex
- vuex-router-sync
Getting started
- Install:
- Brunch:
npm install -g brunch
- Brunch plugins and app dependencies:
npm install
- Brunch:
- Run:
npm start
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm build
— builds minified project for production.
- Learn:
public/
dir is fully auto-generated and served by HTTP server. Write your code inapp/src
dir.- Place static files you want to be copied from
app/assets/
topublic/
. - Brunch site, Getting started guide