Skip to content

macedigital/vuejs-starterkit

Repository files navigation

Dependency Status Development Dependency Status Build Status Code Coverage status

vuejs-starterkit

An opionated Vue.js PWA starter-kit project integrating vue-router, vuex, vue-loader and webpack3 for non-trivial projects.

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 e2e tests
npm run e2e

# run all tests
npm test

You can provide custom port-numbers via the environment variable PORT:

# run dev-server on port 1337
PORT=1337 node run dev

# run e2e tests on port 8888
PORT=8888 node run e2e

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

Demo

Go to the vuejs-starterkit-demo demo page.

Roadmap

  • Fix aliases path-resolution issues with webpack.
  • Fix issues with vue-loader webpack resolvers.
  • Add useful example components from vue guide.
  • Add more sophisticated vue-router examples.
  • Add vuex integration for state-management.
  • Add first-class Typescript support.
  • Revisit unit- and e2e-testing strategy, plenty of frameworks and styles to choose from.