[Vuejs]-Vuejs router won't load on live server

0👍

When using vue-router, the current route is rendered inside a router-view component. So your app would look like this:

<div id="app">
   <router-view></router-view>
</div>

But, it seems you’re using Laravel routing? I don’t know a lot about Laravel, but vue-router is only used when making single page applications. If you’re doing routing in Laravel, you may not need vue-router at all.

Leave a comment