File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 28
28
- 支持 [ tailwindcss] ( https://github.com/tailwindlabs/tailwindcss )
29
29
- 支持查看 vue 示例组件源码(使用 [ vite-plugin-markdown-preview] ( https://github.com/jaskang/vite-plugin-markdown-preview ) )
30
30
31
+ #### 使用自定义域名部署
32
+
33
+ 当 Github Pages 使用自定义域名时,需要修改 ` .github/workflows/deploy.yml ` 脚本中的 ` APP_BASE_PATH ` 为 ` / `
34
+
35
+ 更** 推荐使用第三方服务绑定域名来部署**
36
+
37
+ - [ Netlify] ( https://www.netlify.com/ )
38
+ - [ Vercel] ( https://vercel.com/ )
39
+ - [ Cloudflare Pages] ( https://pages.cloudflare.com/ )
40
+
41
+ 使用仪表板创建新项目并更改这些设置:
42
+
43
+ - ** 构建命令:** ` npm run build `
44
+ - ** 输出目录:** ` dist `
45
+ - ** node 版本:** ` 18 ` (或更高版本)
46
+
47
+ 更多部署指南请查看 [ VitePress 各平台部署指南] ( https://vitepress.dev/zh/guide/deploy#platform-guides )
48
+
31
49
### 开启访客统计
32
50
33
51
需在 ` docs/.vitepress/config.ts ` 中配置 ` themeConfig.visitor `
You can’t perform that action at this time.
0 commit comments