This commit is contained in:
parent
595d1d0932
commit
8b5444919a
@ -19,15 +19,20 @@ const router = createRouter({
|
|||||||
component: () => import('../pages/UserCenter/index.vue'),
|
component: () => import('../pages/UserCenter/index.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/terms-of-service',
|
path: '/terms',
|
||||||
name: 'terms-of-service',
|
name: 'terms-of-service',
|
||||||
component: () => import('../pages/TermsOfService/index.vue'),
|
component: () => import('../pages/TermsOfService/index.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/privacy-policy',
|
path: '/privacy',
|
||||||
name: 'privacy-policy',
|
name: 'privacy-policy',
|
||||||
component: () => import('../pages/PrivacyPolicy/index.vue'),
|
component: () => import('../pages/PrivacyPolicy/index.vue'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/:pathMatch(.*)*',
|
||||||
|
name: 'not-found',
|
||||||
|
redirect: '/',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user