更新网站配置

- 更新网站根目录
This commit is contained in:
狮子耗耗 2023-08-10 21:36:49 +08:00
parent 4805d39b53
commit 6489ef6ea0
2 changed files with 2 additions and 62 deletions

View File

@ -2,7 +2,7 @@ import { defineUserConfig } from "vuepress";
import theme from "./theme.js";
export default defineUserConfig({
base: "/jingji/book/",
base: "/jingji/sp/",
lang: "zh-CN",
title: "荆棘鸟文学社",
@ -15,7 +15,4 @@ export default defineUserConfig({
],
theme,
// Enable it with pwa
// shouldPrefetch: false,
});

View File

@ -15,7 +15,7 @@ export default hopeTheme({
logo: "/logo.webp",
logoDark: '/logo-dark.webp',
repo: "szhhwh/jingji_sp_vue",
repo: "szhhwh/jingji_spbook_vue",
docsDir: "src",
@ -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",
// },
// ],
// },
// ],
// },
// },
},
});