A barebones Brunch skeleton for Vue.js - minimal dependencies!
Unlike other skeletons with Vue, brunch-vue-barebones is based on the official scaffold provided by the Vue.js core team (vue-cli). The only dependencies are vue and vue-router; configure it how you like!
Thanks to https://github.com/nblackburn for his work on vue-brunch
- Install Brunch globally
npm install -g brunch- Create a new Brunch project using this skeleton
brunch new -s vueYou can clone this repo manually!
Taken from the official Brunch docs
- Install (if you don't have them):
- Run:
npm start— watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm run build— builds minified project for production
- Learn:
public/dir is fully auto-generated and served by HTTP server. Write your code inapp/dir.- Place static files you want to be copied from
app/assets/topublic/. - Brunch site, Getting started guide
- Add support for Hot Module Reloading with hmr-brunch