Skip to content

A Vue 2, Webpack 3 and Typescript 2 setup with hot reload, dynamic imports, unit testing, code coverage, sass and bundling/minification.

Notifications You must be signed in to change notification settings

wasserholz/vue-webpack-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-typescript

A Vue, Webpack and Typescript setup with hot reload, dynamic imports, unit testing, code coverage, sass and bundling/minification.

This template is for Vue 2.5. See the changelog for updates.

Usage

This is a project template for vue-cli.

$ npm install -g vue-cli
$ vue init ducksoupdev/vue-webpack-typescript my-project
$ cd my-project
$ npm install
$ npm run dev

What's Included

  • npm run dev: Webpack + Typescript with config for source maps & hot-reload
  • npm test: Mocha unit tests
  • npm run test:debug: Debug Mocha unit tests in Chrome
  • npm run test:watch: Fast feedback Mocha unit tests with hot-reload
  • npm run coverage: Karma coverage reporter
  • npm run lint: Lint all Typescript files
  • npm run build: build with HTML/CSS/JS minification, code splitting and icon generation
  • npm run ci:teamcity: Teamcity CI integration
  • npm run ci:jenkins: Jenkins CI integration

About

A Vue 2, Webpack 3 and Typescript 2 setup with hot reload, dynamic imports, unit testing, code coverage, sass and bundling/minification.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 50.4%
  • JavaScript 38.7%
  • HTML 10.0%
  • CSS 0.9%