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

Edit webpack.config.js #46

Open LiudmilaE opened 6 years ago

LiudmilaE commented 6 years ago

Have to change webpack.config.js according the official docs (MIT):
https://vue-loader.vuejs.org/migrating.html#a-plugin-is-now-required

npm run build does not work without this changes

msftclas commented 6 years ago

CLA assistant check
All CLA requirements met.

tyru commented 6 years ago

I met same problem and found this pull request before sending the same pull request... ;) (I don't know if .js entry is needed, because no .js source exists in the description, and vue-loader should reference ts-loader config for <script lang='ts'>?)