代码拉取完成,页面将自动刷新
使用 Vue 3 + TypeScript + Vite + VuePress 2 + vuepress-theme-hope + Element Plus
├── docs // 文档目录
│ ├── .vuepress // vuepress配置
│ │ ├── components // 自定义组件
│ │ ├── config // 变量配置文件
│ │ ├── public // 静态资源
│ │ ├── styles // 样式
│ │ ├── client.ts // vuepress客户端配置
│ │ └── config.ts // vuepress入口配置
│ │ └── theme.ts // vuepress主题配置
├── .gitignore // git 忽略项
├── deployDoc.sh // 自动发布脚本
└── package.json // package.json
git clone https://gitee.com/fuyang_lipengjun/docs-wxjava.git
cd docs-wxjava
# 安装依赖
npm install
# 启动服务
npm run docs:dev
安装过程中,可能会出现安装过慢、报错等情况,请尝试以下方式:
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm i
## 启动服务
npm run docs:dev
启动完成后打开浏览器访问 http://localhost:8080。
# 构建生产环境
npm run docs:build
server {
listen 80;
server_name domain.com;
location / {
root '/home/wxjava';
index index.html;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。