Skip to content

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

Notifications You must be signed in to change notification settings

DotNetPart/vue-webpack-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-typescript

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

This template is for Vue 2.2

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 proper 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.
  • npm run ci:teamcity: Teamcity CI integration
  • npm run ci:jenkins: Jenkins CI integration

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 51.2%
  • JavaScript 35.2%
  • HTML 13.0%
  • CSS 0.6%