I started to create a web app using Vue JS as the front end framework. In this process, I'm using Vue-Router to route paths to my vue components. And I'm serving this web app using Go with gorilla mux as my router.
Here I am not able to load any component to <router-view></router-view>
in App.vue
.
I found a similar question here. And I tried removing mode: 'history'
but no luck. In the comments, it was mentioned that he let Go redirect all not-found URLs to /# + r.URL.Path
. I didn't understand this bit.
I'll appreciate if anyone can guide me with some example.