mirror of
https://github.com/PaiGramTeam/PaiGramDocs.git
synced 2024-11-26 02:11:04 +00:00
15 lines
371 B
JavaScript
15 lines
371 B
JavaScript
|
import { defineConfig } from 'vite'
|
||
|
import vitepress from 'vitepress'
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [vitepress()],
|
||
|
build: {
|
||
|
// 指定输出目录,默认为 .vitepress/dist
|
||
|
outDir: 'dist',
|
||
|
// 指定静态资源目录,默认为 dist/assets
|
||
|
assetsDir: 'assets',
|
||
|
// 指定静态资源的基础路径,默认为 /
|
||
|
base: '/',
|
||
|
},
|
||
|
})
|