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

error running `dotnet new --install Microsoft.AspNetCore.SpaTemplates.Vue2Js` #28

Closed CharlesOkwuagwu closed 6 years ago

CharlesOkwuagwu commented 7 years ago

Hi,

I tried: dotnet new --install Microsoft.AspNetCore.SpaTemplates.Vue2Js

got:

Error: Package "Microsoft.AspNetCore.SpaTemplates.Vue2Js" is not a valid package specification

Please are there any prerequisites needed?

vip32 commented 7 years ago

Sorry, this is still being worked on. This feature is marked as TODO

vip32 commented 7 years ago

See #19

alexsandro-xpt commented 7 years ago

So, it's don't work yet.... Right?

MarkPieszak commented 7 years ago

@alexsandro-xpt Yea not yet, we haven't added it to the dotnet template so that it can be downloaded that way, for now you need to just fork & clone the repo to get it going. Apologies!

alexsandro-xpt commented 7 years ago

Allright, please tell us when it is done! Thanks!!

mika76 commented 6 years ago

It seems the MS gang are stopping including the original Vue template in their package (see this) so maybe this could become the "official" vue starter project?

MarkPieszak commented 6 years ago

I think so! :+1:

I'm guessing I can close this issue out now? If there's anything else missing to show how to install everything from the README, just let me know.

You rock @mika76 🥇

MarkPieszak commented 6 years ago

@mika76 For some reason actually, I can't get dotnet new --install Microsoft.AspNetCore.SpaTemplates.Vue2Js to work on a new machine either.

Trying to figure out what's missing

mika76 commented 6 years ago

Sorry guys, I had forgotten to update the readme file. I will update (I see I have conflicts)

but the main issue is the nuget package you're installing. The command should be

dotnet new -i aspnetcore-vuejs

and then you can do

dotnet new vuejs

The main nuget package is at https://www.nuget.org/packages/aspnetcore-vuejs/

MarkPieszak commented 6 years ago

We're all set! Merged via 4f6f10e