brunch-vue-barebones
brunch-vue-barebones copied to clipboard
A Barebones Brunch Skeleton for Vue.js
Brunch Vue Barebones
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
Installation
- Install Brunch globally
npm install -g brunch
- Create a new Brunch project using this skeleton
brunch new -s vue
Manual Install
You can clone this repo manually!
Getting Started
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
-
TODO
- Add support for Hot Module Reloading with hmr-brunch