TrilonIO / aspnetcore-Vue-starter

*NEW* Asp.net Core & Vue.js (ES6) SPA Starter kit - Vuex, webpack, Web API, Docker, and more! By @TrilonIO
https://www.trilon.io
MIT License
1.21k stars 266 forks source link

Typescript support - getting started page #41

Closed konraddysput closed 7 years ago

konraddysput commented 7 years ago

Hello, today I downloaded and compiled project. In getting started page you write information about typescript support, but I dont think that your webpack script is ready for typescript support. Even if it is, vue in typescript require a lot cool libraries to work well - attributes, routing etc.

image

Am I miss something or this starter isnt ready right now for typescript support ? (dont see any ts file)

BTW: Really nice job with this project.

thanks for your help

yoyoys commented 7 years ago

i'm not sure.... but dotnet new vue present a vue template for typescript. Maybe that's what you want. but that template use angular style component, not vue file.

P.S. You need to run this first. dotnet new --install Microsoft.AspNetCore.SpaTemplates::*

MarkPieszak commented 7 years ago

So we decided to stick with es6 as most of the Vue community seems to favor it, but Steve has an identical starter to this (just typescript instead) as yoyo was just saying.

If anyone wants to do a quick PR to get rid of that typescript text it'd be much appreciated! I originally had it in TS 🙈