From df999439c1968248800459ed69471c3293641e4c Mon Sep 17 00:00:00 2001 From: winixt Date: Tue, 25 Apr 2023 15:05:14 +0800 Subject: [PATCH] docs: remove pwa --- docs/.vitepress/config.ts | 7 ++----- docs/.vitepress/configs/navbar/zh.ts | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index ecea0f21..01adff41 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -5,8 +5,7 @@ import { withPwa } from '@vite-pwa/vitepress'; import { navbar, sidebar } from './configs'; const BASE_URL = process.env.BASE ? `/${process.env.BASE}/` : '/'; -export default withPwa( - defineConfig({ +export default defineConfig({ base: BASE_URL, title: 'Fes.js', description: '一个好用的前端应用解决方案', @@ -45,6 +44,4 @@ export default withPwa( }, }, - pwa: {}, - }), -); +}); \ No newline at end of file diff --git a/docs/.vitepress/configs/navbar/zh.ts b/docs/.vitepress/configs/navbar/zh.ts index 8f24789c..29c05dac 100644 --- a/docs/.vitepress/configs/navbar/zh.ts +++ b/docs/.vitepress/configs/navbar/zh.ts @@ -29,11 +29,11 @@ export const zh = [ { text: 'v2.0', link: - 'https://fesjs.mumblefe.cn/2.0', + 'https://fesjs.mumblefe.cn/2.0/', }, { text: 'v1.0', - link: 'https://fesjs.mumblefe.cn/1.0', + link: 'https://fesjs.mumblefe.cn/1.0/', }, ], },