A Barebones Brunch Skeleton for Vue.js
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
app
.gitignore
README.md
brunch-config.js
package-lock.json
package.json

README.md

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

  1. Install Brunch globally
npm install -g brunch
  1. 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):
    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
    • Brunch plugins and app dependencies: npm install
  • 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 in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/.
    • Brunch site, Getting started guide

TODO

  • Add support for Hot Module Reloading with hmr-brunch