router hash --> web 完善 utterances 集成

This commit is contained in:
就眠儀式
2021-12-16 00:42:43 +08:00
parent 9e828af4ed
commit d2ae215227
7 changed files with 12 additions and 18 deletions

View File

@@ -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,
})
}

View File

@@ -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',