aaa
This commit is contained in:
@@ -6,12 +6,11 @@ import ProductsView from './pages/ProductsView.vue'
|
||||
|
||||
export const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: '/:lang?',
|
||||
path: '/:lang(en|zh-cn|zh-tw)?',
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: HomeView,
|
||||
alias: ['/:lang?', '/:lang?/home']
|
||||
},
|
||||
{
|
||||
path: 'about',
|
||||
@@ -35,3 +34,4 @@ export const routes: RouteRecordRaw[] = [
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user