A grande-cup Vue with TypeScript, Webpack & more... setup.
This is a project template for vue-cli.
$ npm install -g @vue/cli @vue/cli-init
$ vue init longyiszh/vue-ts-webpack-grande [my-project]
$ cd [my-project]
$ npm install
$ npm run serve
-
npm run serve
: Webpack +vue-loader
with proper config for 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.
You can fork this repo to create your own boilerplate, and use it with vue-cli
:
vue init [username/repo] [my-project]
ktsn/typescript-webpack-simple -> wcxaaa/vue-ts-webpack-simple