mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
Initial commit
This commit is contained in:
35
docs/.vuepress/config.ts
Normal file
35
docs/.vuepress/config.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { defineUserConfig } from "vuepress";
|
||||
import { viteBundler } from '@vuepress/bundler-vite'
|
||||
import theme from "./theme.js";
|
||||
|
||||
export default defineUserConfig({
|
||||
base: "/Snap.Hutao.Docs/",
|
||||
|
||||
dest: "./dist",
|
||||
|
||||
locales: {
|
||||
"/": {
|
||||
lang: "zh-CN",
|
||||
title: "胡桃工具箱",
|
||||
description: "多功能的原神工具箱",
|
||||
},
|
||||
"/en/": {
|
||||
lang: "en-US",
|
||||
title: "Snap Hutao",
|
||||
description: "Super utilitarian Genshin Impact Tool",
|
||||
},
|
||||
},
|
||||
|
||||
theme,
|
||||
|
||||
shouldPrefetch: false,
|
||||
|
||||
bundler: viteBundler({
|
||||
viteOptions: {
|
||||
build:{
|
||||
chunkSizeWarningLimit: 1500
|
||||
}
|
||||
},
|
||||
vuePluginOptions: {},
|
||||
}),
|
||||
});
|
||||
Reference in New Issue
Block a user