router hash --> web 完善 utterances 集成
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {
|
||||
createRouter as _createRouter,
|
||||
createWebHashHistory,
|
||||
createWebHistory,
|
||||
Router,
|
||||
} from 'vue-router'
|
||||
import zhCN from './zh-CN'
|
||||
@@ -10,7 +11,7 @@ const routes = [...zhCN]
|
||||
export function createRouter(): Router {
|
||||
const baseUrl = import.meta.env.BASE_URL
|
||||
return _createRouter({
|
||||
history: createWebHashHistory(baseUrl),
|
||||
history: createWebHistory(baseUrl),
|
||||
routes: routes,
|
||||
})
|
||||
}
|
||||
@@ -49,9 +49,9 @@ const zhCN = [
|
||||
meta: { title: '问题' },
|
||||
},
|
||||
{
|
||||
path: '/zh-CN/guide/contribution',
|
||||
path: '/zh-CN/guide/team',
|
||||
component: () => import('../../docs/zh-CN/guide/contribution.md'),
|
||||
meta: { title: '贡献' },
|
||||
meta: { title: '团队' },
|
||||
},
|
||||
{
|
||||
path: '/zh-CN/guide/norms',
|
||||
|
||||
Reference in New Issue
Block a user