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 run" doesn't work. only work with "npm run dev" #124

Open ggokka opened 5 years ago

ggokka commented 5 years ago

When I run the command "dotnet run", the result is nothing. I only saw the empty page in the browser.

However after the run "npm run dev" I could see the functioning service in the browser.

MarkPieszak commented 5 years ago

Thanks for letting me know I'll take a look! Worst case we just remove that from the documentation for now until it's resolved.

coryfinnegan commented 5 years ago

I am also having this problem. Using Lubuntu and VS Code.

michidk commented 5 years ago

I also get a blank page. installed via git on windows. Firefox console:

17:33:13.783 The script from “https://localhost:5001/dist/main.js” was loaded even though its MIME type (“”) is not a valid JavaScript MIME type.
2 localhost:5001
17:33:13.800 Loading failed for the <script> with source “https://localhost:5001/dist/main.js”. localhost:5001:23:1
17:33:13.853 Use of Mutation Events is deprecated. Use MutationObserver instead. pageModifier.js:81:24
17:33:13.853 undefined
MarkPieszak commented 5 years ago

Removing it from the Readme/docs right now - I believe this functionality might of been lost quite a while ago.

Running npm run dev should be the recommended way going forward :+1: