/vue-webpack-typescript

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

Primary LanguageTypeScript

webpack-typescript

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

This template is for Vue 2.0

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: Jasmine-based tests and Karma coverage reporter
  • npm run build: build with HTML/CSS/JS minification.