[Vuejs]-Questions about vue-rouer addRoutes

0👍

TLDR;
handle layout logic at client side, don’t server here, that’s a really a bad idea.

vue bundler serves transpiled js files, its directory structure looks like same as the dist folder which you get on building vue app for production

there will be no views or blah blah folders single /js folder that contains all the bundles.
and you are sending a path from server that doesn’t work. because of this. and one more thing is modules filename changes.

hope you get this.

say you sending "./view/about.vue"
vue metro server don’t know about this. it knows only /js/somehash.js

Leave a comment