[Vuejs]-Vue components re-rendering on router push

0๐Ÿ‘

โœ…

I originally created the nested route within the folder.Instead, you need to put the parent page within the root of what directory the folder exists.

pages
 _entity
  messaging
    settings
      index.vue
    msg
      index.vue
    messaging.vue(wrong - changed back to index.vue) -> within here add the <nuxt-child> component 
  messaging.vue(need to move to _entity folder to create children) 

0๐Ÿ‘

You should define routing in your app as suggested here (pure Vue) or here (with vue-router). Without it you are reloading a whole page (and the app) when you change the URL.

Leave a comment