You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
597 B

import { webpackBundler } from "@vuepress/bundler-webpack";
import { defaultTheme } from "@vuepress/theme-default";
import { defineUserConfig } from "vuepress";
import theme from "./vuepress.theme";
export default defineUserConfig({
bundler: webpackBundler(),
// 网站根
base: "/",
// 网站标题
title: theme.navigatorTitle,
// 默认主题
theme: defaultTheme(theme),
// 打包目录
dest: "dist",
// 缓存目录
cache: ".vuepress/.cache",
// 临时目录
temp: ".vuepress/.temp",
// 服务端口
port: 3000,
// public 目录
public: "public",
});