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

Publish issues with router and component file locations #87

Open Morkaleb opened 6 years ago

Morkaleb commented 6 years ago

When publishing as both Debug and Release, my component paths show as if the system was being run on the dev computer, rather than part of the release.
On the app-route page, if I have it render {{this.routes}}, it shows the location of my components as this:

__file": "C:\Working\Ops\ClientApp\components\home-page.vue",

Which is the location of the file on the dev computer. I'm stuck, and I don't know where to go from here.

PS. it works very well on the dev computer, and there are no errors coming up in the console.

Edit: I should add, the components work if they are called in the app-root.vue. It's within router-view that I can't get it to work.