A Vue 2.5, Vuex 3.0, Webpack 4.2, Typescript 2.8, Bootstrap 4.1 setup with hot reload, dynamic imports, unit testing, code coverage, sass and bundling/minification.
Inspired by https://github.com/ducksoupdev/vue-webpack-typescript.
Added Vuex store, vue-meta (https://github.com/declandewet/vue-meta) - useful tool for add meta info to your pages (title, meta tags etc.)
See the changelog for updates.
This is a project template for vue-cli < 3.x.
$ npm install -g vue-cli
$ vue init begemode/vue-vuex-typescript-webpack my-project
$ cd my-project
$ npm install
$ npm run dev
By default, http://localhost:3000/
npm run dev
: Webpack + Typescript with config for source maps & hot-reloadnpm test
: Mocha unit testsnpm run test:debug
: Debug Mocha unit tests in Chromenpm run test:watch
: Fast feedback Mocha unit tests with hot-reloadnpm run coverage
: Karma coverage reporternpm run lint
: Lint all Typescript filesnpm run build
: build with HTML/CSS/JS minification, code splitting and icon generationnpm run ci:teamcity
: Teamcity CI integrationnpm run ci:jenkins
: Jenkins CI integration