Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
CharlesOkwuagwu opened this issue Mar 12, 2017 · 10 comments

Comments

@CharlesOkwuagwu
Copy link

CharlesOkwuagwu commented Mar 12, 2017

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
Copy link
Contributor

vip32 commented Mar 12, 2017

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

@vip32
Copy link
Contributor

vip32 commented Mar 12, 2017

See #19

@alexsandro-xpt
Copy link

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

@MarkPieszak
Copy link
Member

@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
Copy link

alexsandro-xpt commented Mar 14, 2017

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

@mika76
Copy link
Contributor

mika76 commented Feb 8, 2018

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
Copy link
Member

I think so! 👍

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
Copy link
Member

@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
Copy link
Contributor

mika76 commented Feb 23, 2018

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
Copy link
Member

We're all set! Merged via 4f6f10e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants