- 默认端口号是 8080。
- 可修改 .docs/vuepress/config.ts 配置文件。
- 新增 port 属性,这里改为 8099。
module.exports = {
host: 'localhost', // ip
port: '8099', //端口号
title: '我的技术站', // 设置网站标题
description: '描述:我的技术站',
themeConfig: {
...
}
}
module.exports = {
host: 'localhost', // ip
port: '8099', //端口号
title: '我的技术站', // 设置网站标题
description: '描述:我的技术站',
themeConfig: {
...
}
}