build: add vercel config and update docs path

- Add vercel.json configuration for deployment
- Update node engine requirement in package-lock.json
- Fix broken link in documentation
This commit is contained in:
sanbuphy
2026-01-12 15:49:10 +08:00
parent d33d85734d
commit 1b5a899937
3 changed files with 10 additions and 1 deletions
@@ -559,4 +559,4 @@ curl -X POST 'http://xxxxxxxx/v1/chat-messages' \
1. **在 README.md 中写入一两句话的小说明:你选择了谁作为画像主角,为什么选 TA。** 1. **在 README.md 中写入一两句话的小说明:你选择了谁作为画像主角,为什么选 TA。**
2. **你的 Hogwarts Portraits 线上访问链接;** 2. **你的 Hogwarts Portraits 线上访问链接;**
你也可以参考 Yerim 写的 [使用设计和代码 Agent 制作网页](/examples/example0/example0-2/vibe-coding-tools-build-website-with-ai-coding-and-design-agents) 教程,进行个人作品集或任意功能简单网页的快速搭建。 你也可以参考 Yerim 写的 [使用设计和代码 Agent 制作网页](/stage-1/appendix-articles/example0-2/vibe-coding-tools-build-website-with-ai-coding-and-design-agents) 教程,进行个人作品集或任意功能简单网页的快速搭建。
+3
View File
@@ -18,6 +18,9 @@
}, },
"devDependencies": { "devDependencies": {
"prettier": "^3.7.4" "prettier": "^3.7.4"
},
"engines": {
"node": ">=18.0.0"
} }
}, },
"node_modules/@ai-sdk/gateway": { "node_modules/@ai-sdk/gateway": {
+6
View File
@@ -0,0 +1,6 @@
{
"buildCommand": "npm run build",
"installCommand": "npm install",
"framework": "vitepress",
"outputDirectory": "docs/.vitepress/dist"
}