[Vuejs]-Prevent url changes on navigation Vue.js/Nuxt.js

0👍

Nuxt autogenerates routes from your pages directory.

You are probably defining Persona/frmListadoRaza and estudiante/frmEstudiante in your pages, so the route appears that way.

Instead define them in components, then import and use them in your pages/index.vue which corresponds to the base url(/).

Start with the default view at / and then hide and/or show the components as you need.

Leave a comment