LiteyukiBot-TriM/docs/.vuepress/config.ts

30 lines
713 B
TypeScript
Raw Normal View History

2024-03-28 11:12:55 +08:00
import {defineUserConfig} from "vuepress";
2024-03-28 10:50:19 +08:00
import theme from "./theme.js";
2024-03-28 11:12:55 +08:00
import viteBundler from "@vuepress/bundler-vite";
2024-03-28 10:50:19 +08:00
export default defineUserConfig({
2024-03-28 11:12:55 +08:00
base: "/",
2024-03-28 10:50:19 +08:00
2024-03-28 11:12:55 +08:00
lang: "zh-CN",
title: "LiteyukiBot",
description: "An OneBot Standard ChatBot",
head: [
// 设置 favor.ico.vuepress/public 下
[
2024-03-28 13:37:17 +08:00
'link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'},
],
[
"meta",
{
name: "viewport",
content: "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",
},
2024-03-28 11:12:55 +08:00
]
],
2024-03-28 10:50:19 +08:00
2024-03-31 10:59:17 +08:00
2024-03-28 11:12:55 +08:00
theme,
// 和 PWA 一起启用
// shouldPrefetch: false,
2024-03-31 10:59:17 +08:00
});