Merge branch 'main' of ssh://18.167.251.121:10002/aidlab/Aida_Purchaser_Front

This commit is contained in:
2026-04-22 10:31:34 +08:00
87 changed files with 3500 additions and 50 deletions

View File

@@ -41,6 +41,30 @@ const router = createRouter({
component: () => import('../views/404.vue')
}
]
history: createWebHistory('/'),
// history: createWebHistory(import.meta.env.VITE_APP_URL),
routes: [
{
path: '/',
name: 'home',
component: () => import('../views/home/index.vue'),
},
{
path: '/collectionStory',
name: 'collectionStory',
component: () => import('../views/collectionStory/index.vue'),
},
{
path: '/brand',
name: 'brand',
component: () => import('../views/brand/index.vue'),
},
{
path: '/:pathMatch(.*)',
name: '404',
component: () => import('../views/404.vue'),
},
]
})
router.beforeEach((to, from, next) => {