Closed MarkPieszak closed 7 years ago
Possible guide using vue-ts-loader: https://herringtondarkholme.github.io/2016/10/03/vue2-ts2/
How do you guys feel about? @anderly @vip32 I mean personally I <3 TypeScript, I'm sure people will change their minds eventually.
Should we leave it at ES6 for now, and maybe just have a small note on TS usage, Or go full-on TypeScript?
i also love TS, however not convinced to use it together with vuejs. it's not as nicely integrated as with angular nowadays. also the vuejs community mostly seems to use es6. so if we do TS it should best be another template (choice).
maybe if this js template is done we instead can work on a more advanced vuejs template with:
I think separate typescript template is a good idea. I've got a few more minor changes to this one (missed the namespace change in a few files, etc), but then we could move on to TS template.
Separate typescript template is better, I guess, this should be ASP NET Core for VueJS and not VueJS for ASP NET Core.
VueJS side should be ever maintain the default template project.
So Steve Sanderson from the aspnet team took this template and updated it to TypeScript (with a few other tweaks) but you can find it with npm i -g aspnetcore-spa yo
then yo aspnetcore-spa
and install the Vue template. I think he merged it like an hour ago, so it might not be updated onto yeoman just yet.
or maybe create a separate starter, as ts is not that popular (yet?) in the vuejs community.