Files
Snap.Hutao.Docs/docs/.vuepress/config.ts
Masterain 48ba179e40 Fix error
- debug purpose
2023-01-13 18:45:31 -08:00

42 lines
816 B
TypeScript

import { defineUserConfig } from "vuepress";
import { viteBundler } from '@vuepress/bundler-vite'
import theme from "./theme.js";
export default defineUserConfig({
base: "/",
dest: "./dist",
head:[
['script', {async:"", defer:"", "data-website-id":"f586534f-1741-450e-a0f4-3c0189f993c9",
src:"https://umami.irain.in/umami.js"}, `
`],
],
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: {},
}),
});