microsoft / TypeScript-Vue-Starter

A starter template for TypeScript and Vue with a detailed README describing how to use the two together.
MIT License
4.45k stars 592 forks source link

Update project with vue CLI support #70

Open douglasg14b opened 5 years ago

douglasg14b commented 5 years ago

Currently the vue cli is the recommended way to setup an app, and you no longer use webpack directly. Instead you have a vue.config.js that you work with.

mikeerickson commented 5 years ago

This is quite opinionated in my opinion. Most of our vue projects are created without Vue CLI as we need greater control or have requirements that are outside the scope of what is offered from Vue CLI.

I think this project scratches the itch for those who don’t want to use Vue CLI

grofit commented 5 years ago

One other thing to point out is that vue cli doesnt work "out the box" for library scenarios, i.e where you want to bundle pre-made typescript libraries, as it doesnt output the declaration files without much hackery and increasing the build time by about 10x.

https://github.com/vuejs/vue-cli/issues/1081