Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11631

I have problem in routing of quasar framework of vue 3

$
0
0

Here is my code here whatever route i give it takes me to the home page only . When I give path auth it takes me to the home can anyone explain me why , and clear my doubt ..

const routes = [  {    path: "",    component: () => import("layouts/MainLayout.vue"),    props: true,    children: [      {        path: "auth",        name: "auth",        component:  () => import("pages/AuthPage.vue"),      },      {        path: "",        name: "home",        component: () => import("pages/HomePage.vue"),      },    ],  },  // Always leave this as last one,  // but you can also remove it  {    path: "/:catchAll(.*)*",    component: () => import("pages/ErrorNotFound.vue"),  },];

export default routes;


Viewing all articles
Browse latest Browse all 11631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>