Lazy loaded image
人工智能
🧑‍💻Vibe coding & Vercel Deploy
Words 867Read Time 3 min
2026-3-29
2026-3-29
type
Post
status
Published
date
Mar 29, 2026
slug
summary
用 AI + 最少代码 + 最短时间上线一个可交互网站
tags
开发
Ai
category
人工智能
icon
password

一、Vibe Coding 核心逻辑

本质:用 AI 写代码 + 人只负责描述需求 + 快速部署
流程:
工具组合建议:
原因:
  • Next.js 是 Vercel官方框架
  • 部署几乎 一键完成
 

参考文档:https://chatgpt.com/c/69b23b42-66e4-8322-8155-153113515606

二、配置开发 Vibe IDE 规则

1、项目开发规则(Project Rules / System Prompt)

Trae Vibe Coding 开发规则

 

项目:财经导航站点

产品参考:

notion image

Vibe:

1、生产需求文档
notion image
notion image
 
2、编码实现
notion image
notion image
notion image
 
3、本地测试
1、npm install 报错
notion image
原因:
notion image
notion image
修复:
更新Node版本(Node官网)
notion image
# 删除node_modules
# 清缓存
npm cache clean --force
# 重新安装
npm install
 

 
2、npm run dev 可Ready 但是访问报错
notion image
原因:
notion image
解决:
在项目目录执行
然后重新启动:
 

 
3、运行时报错
原因:
notion image
 
解决方式:
更新npm版本
notion image
notion image
 

 

🎯 当前项目状态总结

踩了三类典型坑:
  1. ❌ npm 版本错误(@types/node)
  1. ❌ SWC 编译器损坏
  1. ❌ Tailwind 插件缺失
👉 本质都是:
⚠️ 环境 + 依赖管理问题,而不是代码问题
 
上一篇
推送本地项目至Github并部署Vercel
下一篇
WalletConnect:DApp与加密钱包间的连接协议