/vuex-boilerplate

Basic starting point for new vuex apps.

Primary LanguageJavaScript

vuex reactive app with material inspired views

boilerplate template

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

CLI and scaffolding components

node cli.js --help

  Usage: cli [options]


  Options:

    -V, --version           output the version number
    -c, --component [name]  Add new component with [name] (default: Sample)
    -r, --route             Generate a route for the new component
    -d, --destroy           Remove a component
    -h, --help              output usage information

For detailed explanation on how things work, checkout the guide and docs for vue-loader.