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

aspnetcore-Vue-starter blank page on start up #91

Closed
tahirk-atos opened this issue May 27, 2018 · 3 comments
Closed

aspnetcore-Vue-starter blank page on start up #91

tahirk-atos opened this issue May 27, 2018 · 3 comments

Comments

@tahirk-atos
Copy link

Hi followed your steps for the aspnetcore-Vue-starter starter app using VS Code and was able to successfully get the template from nuget, select vuejs as the chosen app and then confirmed the .NET Core components were restored and performed an npm install to get the required packages.

When I issued the command "dotnet run" and then clicked on the URL that was displayed in the terminal window I got a blank page in Google Chrome. Inspecting the Chrome Console I discovered the app had not started up properly various resources were missing.

I then opened the app solution in Visual Studio 2017, did compile and build and then ran it and worked fine the correct page showed up. Finally reopened the folder in VS Code and typed dotnet run again in the terminal and it worked this time.

Using latest version of VS Code in a 64 bit Windows 10 Professional laptop (VS 2017, git bash, node.js installed).

@ErikWitkowski
Copy link

You are probably missing the command: npm run build

@tahirk-atos
Copy link
Author

Thanks Erik will give it a go.

@MarkPieszak
Copy link
Member

Let us know if that doesn't solve your issue, it sounds like that's all your missing!

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

No branches or pull requests

3 participants