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.22k stars 266 forks source link

"dotnet new vue" does not install the latest Vue #117

Open senglory opened 5 years ago

senglory commented 5 years ago

Hi,

I came across the closed ticket at https://github.com/MarkPieszak/aspnetcore-Vue-starter/issues/102 but it seems to be actual again. I am trying to create a template project for Asp.Net Core and Vue of the latest version but getting instead version 2.3.4 installed. How can I deploy the latest version of Мгу шт my Core app?

Nordes commented 5 years ago

dotnet new vue does not install automatically the latest version. You need to re-install the nuget "template" package. For example, for this project, you need to do the following : dotnet new -i aspnetcore-vuejs

Once you have completed the previous command, the template project will be updated. The next time you do a dotnet new vue it will then use the latest version of the template.

So, the answer to your problem is the same as the other issue state and the fix is the same (see last message from @MarkPieszak https://github.com/MarkPieszak/aspnetcore-Vue-starter/issues/102#issuecomment-420413008).