docs: make Chinese README the default
This commit is contained in:
@@ -1,54 +1,60 @@
|
||||
[](https://bolt.new)
|
||||
<!-- WEHUB_ZH_README -->
|
||||
> [!NOTE]
|
||||
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
|
||||
> [English](./README.en.md) · [原始项目](https://github.com/stackblitz/bolt.new) · [上游 README](https://github.com/stackblitz/bolt.new/blob/HEAD/README.md)
|
||||
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
|
||||
|
||||
# Bolt.new: AI-Powered Full-Stack Web Development in the Browser
|
||||
[](https://bolt.new)
|
||||
|
||||
Bolt.new is an AI-powered web development agent that allows you to prompt, run, edit, and deploy full-stack applications directly from your browser—no local setup required. If you're here to build your own AI-powered web dev agent using the Bolt open source codebase, [click here to get started!](./CONTRIBUTING.md)
|
||||
# Bolt.new:浏览器中的 AI 驱动全栈 Web 开发
|
||||
|
||||
## What Makes Bolt.new Different
|
||||
Bolt.new 是一款 AI 驱动的 Web 开发智能体(agent),让你可以直接在浏览器中通过提示词创建、运行、编辑并部署全栈应用——无需本地环境配置。如果你想基于 Bolt 开源代码库构建自己的 AI 驱动 Web 开发智能体,[点击这里开始!](./CONTRIBUTING.md)
|
||||
|
||||
Claude, v0, etc are incredible- but you can't install packages, run backends or edit code. That’s where Bolt.new stands out:
|
||||
## Bolt.new 的独特之处
|
||||
|
||||
- **Full-Stack in the Browser**: Bolt.new integrates cutting-edge AI models with an in-browser development environment powered by **StackBlitz’s WebContainers**. This allows you to:
|
||||
- Install and run npm tools and libraries (like Vite, Next.js, and more)
|
||||
- Run Node.js servers
|
||||
- Interact with third-party APIs
|
||||
- Deploy to production from chat
|
||||
- Share your work via a URL
|
||||
Claude、v0 等工具非常出色——但你无法安装软件包、运行后端或编辑代码。这正是 Bolt.new 的亮点:
|
||||
|
||||
- **AI with Environment Control**: Unlike traditional dev environments where the AI can only assist in code generation, Bolt.new gives AI models **complete control** over the entire environment including the filesystem, node server, package manager, terminal, and browser console. This empowers AI agents to handle the entire app lifecycle—from creation to deployment.
|
||||
- **浏览器中的全栈开发**:Bolt.new 将前沿 AI 模型与由 **StackBlitz 的 WebContainers** 驱动的浏览器内开发环境相结合。这使你能够:
|
||||
- 安装并运行 npm 工具与库(如 Vite、Next.js 等)
|
||||
- 运行 Node.js 服务器
|
||||
- 与第三方 API 交互
|
||||
- 在对话中部署到生产环境
|
||||
- 通过 URL 分享你的作品
|
||||
|
||||
Whether you’re an experienced developer, a PM or designer, Bolt.new allows you to build production-grade full-stack applications with ease.
|
||||
- **可掌控环境的 AI**:与传统开发环境中 AI 只能协助生成代码不同,Bolt.new 让 AI 模型对包括文件系统、Node 服务器、包管理器、终端和浏览器控制台在内的整个环境拥有**完全控制权**。这使 AI 智能体能够处理从创建到部署的完整应用生命周期。
|
||||
|
||||
For developers interested in building their own AI-powered development tools with WebContainers, check out the open-source Bolt codebase in this repo!
|
||||
无论你是经验丰富的开发者、产品经理(PM)还是设计师,Bolt.new 都能让你轻松构建可用于生产环境的全栈应用。
|
||||
|
||||
## Tips and Tricks
|
||||
对于希望使用 WebContainers 构建自有 AI 驱动开发工具的开发者,欢迎查看本仓库中的 Bolt 开源代码库!
|
||||
|
||||
Here are some tips to get the most out of Bolt.new:
|
||||
## 技巧与窍门
|
||||
|
||||
- **Be specific about your stack**: If you want to use specific frameworks or libraries (like Astro, Tailwind, ShadCN, or any other popular JavaScript framework), mention them in your initial prompt to ensure Bolt scaffolds the project accordingly.
|
||||
以下是一些充分利用 Bolt.new 的实用建议:
|
||||
|
||||
- **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.
|
||||
- **明确说明你的技术栈**:如果你想使用特定框架或库(如 Astro、Tailwind、ShadCN 或其他流行的 JavaScript 框架),请在初始提示词中说明,以确保 Bolt 按此搭建项目。
|
||||
|
||||
- **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps Bolt understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.
|
||||
- **使用增强提示词图标**:发送提示词前,可尝试点击「enhance」(增强)图标,让 AI 模型帮你优化提示词,再在提交前编辑结果。
|
||||
|
||||
- **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask Bolt to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
|
||||
- **先搭建基础,再添加功能**:在深入更高级功能之前,确保应用的基本结构已就位。这有助于 Bolt 理解项目基础,并在构建更复杂功能前确保一切正确连接。
|
||||
|
||||
## FAQs
|
||||
- **批量处理简单指令**:将多条简单指令合并为一条消息以节省时间。例如,你可以让 Bolt 一次性更改配色方案、添加移动端响应式支持并重启开发服务器,从而节省时间并显著减少 API 额度消耗。
|
||||
|
||||
**Where do I sign up for a paid plan?**
|
||||
Bolt.new is free to get started. If you need more AI tokens or want private projects, you can purchase a paid subscription in your [Bolt.new](https://bolt.new) settings, in the lower-left hand corner of the application.
|
||||
## 常见问题
|
||||
|
||||
**What happens if I hit the free usage limit?**
|
||||
Once your free daily token limit is reached, AI interactions are paused until the next day or until you upgrade your plan.
|
||||
**如何注册付费方案?**
|
||||
Bolt.new 可免费开始使用。如果你需要更多 AI token 或想要私有项目,可在应用左下角的 [Bolt.new](https://bolt.new) settings 中购买付费订阅。
|
||||
|
||||
**Is Bolt in beta?**
|
||||
Yes, Bolt.new is in beta, and we are actively improving it based on feedback.
|
||||
**达到免费使用限额后会怎样?**
|
||||
一旦达到每日免费 token 限额,AI 交互将暂停,直到次日或你升级方案为止。
|
||||
|
||||
**How can I report Bolt.new issues?**
|
||||
Check out the [Issues section](https://github.com/stackblitz/bolt.new/issues) to report an issue or request a new feature. Please use the search feature to check if someone else has already submitted the same issue/request.
|
||||
**Bolt 是否处于 beta 阶段?**
|
||||
是的,Bolt.new 目前处于 beta 阶段,我们会根据反馈持续改进。
|
||||
|
||||
**What frameworks/libraries currently work on Bolt?**
|
||||
Bolt.new supports most popular JavaScript frameworks and libraries. If it runs on StackBlitz, it will run on Bolt.new as well.
|
||||
**如何报告 Bolt.new 的问题?**
|
||||
请前往 [Issues 板块](https://github.com/stackblitz/bolt.new/issues) 报告问题或申请新功能。提交前请使用搜索功能,确认是否已有相同的问题/请求。
|
||||
|
||||
**How can I add make sure my framework/project works well in bolt?**
|
||||
We are excited to work with the JavaScript ecosystem to improve functionality in Bolt. Reach out to us via [hello@stackblitz.com](mailto:hello@stackblitz.com) to discuss how we can partner!
|
||||
**Bolt 目前支持哪些框架/库?**
|
||||
Bolt.new 支持大多数流行的 JavaScript 框架和库。只要能在 StackBlitz 上运行,就能在 Bolt.new 上运行。
|
||||
|
||||
**如何确保我的框架/项目在 Bolt 中良好运行?**
|
||||
我们很乐意与 JavaScript 生态系统合作,改进 Bolt 的功能。请通过 [hello@stackblitz.com](mailto:hello@stackblitz.com) 联系我们,探讨合作方式!
|
||||
|
||||
Reference in New Issue
Block a user