Skip to content

A simple Webpack + vue-loader setup for quick prototyping using Typescript.

Notifications You must be signed in to change notification settings

TNOCS/vue-typescript-webpack-simple

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 

Repository files navigation

vue-typescript-webpack-simple

A simple Vue 2.0 Webpack & vue-loader setup for quick prototyping using TypeScript. Note this template is not suitable for production - for that you may want to wait for an official 2.0 webpack template.

This template is Vue 2.0 compatible.

Usage

This is a project template for vue-cli.

$ npm install -g vue-cli
$ vue init TNOCS/vue-typescript-webpack-simple my-project
$ cd my-project
$ npm install  # or `yarn`
$ npm run dev  # or `yarn dev`

What's Included

  • npm run dev or yarn dev: Webpack + vue-loader with proper config for Typescript, source maps & hot-reload.

  • npm run build: build with HTML/CSS/JS minification.

For detailed explanation on how things work, consult the docs for vue-loader. Also check out the breaking changes in [email protected].

We have followed the Typescript support as described on the official Vue.js website, and the blog post of Even You.

Fork It And Make Your Own

You can fork this repo to create your own boilerplate, and use it with vue-cli:

vue init username/repo my-project

About

A simple Webpack + vue-loader setup for quick prototyping using Typescript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 51.4%
  • JavaScript 42.0%
  • HTML 4.4%
  • TypeScript 2.2%