From a47a6d43afd6b5f17d47e152c0109eac0f21c3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B5=A9?= <3116737282@qq.com> Date: Fri, 11 Aug 2023 12:10:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BD=91=E7=AB=99=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.vuepress/config.ts | 5 +--- src/.vuepress/theme.ts | 57 ----------------------------------------- 2 files changed, 1 insertion(+), 61 deletions(-) diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index dc71b7d..4664cd6 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -10,12 +10,9 @@ export default defineUserConfig({ head: [ [ - 'link', { rel: 'icon', href: '/favicon.ico' } + 'link', { rel: 'icon', href: './favicon.ico' } ] ], theme, - - // Enable it with pwa - // shouldPrefetch: false, }); diff --git a/src/.vuepress/theme.ts b/src/.vuepress/theme.ts index 9b0b7d1..38bbfaf 100644 --- a/src/.vuepress/theme.ts +++ b/src/.vuepress/theme.ts @@ -90,62 +90,5 @@ export default hopeTheme({ vPre: true, vuePlayground: false, }, - - // uncomment these if you want a pwa - // pwa: { - // favicon: "/favicon.ico", - // cacheHTML: true, - // cachePic: true, - // appendBase: true, - // apple: { - // icon: "/assets/icon/apple-icon-152.png", - // statusBarColor: "black", - // }, - // msTile: { - // image: "/assets/icon/ms-icon-144.png", - // color: "#ffffff", - // }, - // manifest: { - // icons: [ - // { - // src: "/assets/icon/chrome-mask-512.png", - // sizes: "512x512", - // purpose: "maskable", - // type: "image/png", - // }, - // { - // src: "/assets/icon/chrome-mask-192.png", - // sizes: "192x192", - // purpose: "maskable", - // type: "image/png", - // }, - // { - // src: "/assets/icon/chrome-512.png", - // sizes: "512x512", - // type: "image/png", - // }, - // { - // src: "/assets/icon/chrome-192.png", - // sizes: "192x192", - // type: "image/png", - // }, - // ], - // shortcuts: [ - // { - // name: "Demo", - // short_name: "Demo", - // url: "/demo/", - // icons: [ - // { - // src: "/assets/icon/guide-maskable.png", - // sizes: "192x192", - // purpose: "maskable", - // type: "image/png", - // }, - // ], - // }, - // ], - // }, - // }, }, });