docs: remove pwa

This commit is contained in:
winixt 2023-04-25 15:05:14 +08:00
parent 4b2689c5eb
commit df999439c1
2 changed files with 4 additions and 7 deletions

View File

@ -5,8 +5,7 @@ import { withPwa } from '@vite-pwa/vitepress';
import { navbar, sidebar } from './configs'; import { navbar, sidebar } from './configs';
const BASE_URL = process.env.BASE ? `/${process.env.BASE}/` : '/'; const BASE_URL = process.env.BASE ? `/${process.env.BASE}/` : '/';
export default withPwa( export default defineConfig({
defineConfig({
base: BASE_URL, base: BASE_URL,
title: 'Fes.js', title: 'Fes.js',
description: '一个好用的前端应用解决方案', description: '一个好用的前端应用解决方案',
@ -45,6 +44,4 @@ export default withPwa(
}, },
}, },
pwa: {}, });
}),
);

View File

@ -29,11 +29,11 @@ export const zh = [
{ {
text: 'v2.0', text: 'v2.0',
link: link:
'https://fesjs.mumblefe.cn/2.0', 'https://fesjs.mumblefe.cn/2.0/',
}, },
{ {
text: 'v1.0', text: 'v1.0',
link: 'https://fesjs.mumblefe.cn/1.0', link: 'https://fesjs.mumblefe.cn/1.0/',
}, },
], ],
}, },