base44-platform-frontend
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- GENERATED FILE. DO NOT EDIT. Compiled from the Base44 builder's prompt sources; the
source commit is in /SOURCE_COMMIT at the repository root. Edits here are overwritten by
the next sync; change the source instead. -->
<!-- 生成文件,请勿编辑。由 Base44 builder 的提示词源编译而成;源 commit
位于仓库根目录的 /SOURCE_COMMIT 中。此处的修改会在下次同步时被覆盖;
请改为修改源文件。 -->
Base44 frontend
Base44 前端
The builder's own frontend rules for Base44 web apps. Pick the reference for the app's framework; the TanStack reference ends with a worked example.
builder 自身针对 Base44 Web 应用的前端规则。请根据应用使用的框架选择对应的参考文档;TanStack 参考文档末尾附有实例演示。
Pick the reference for this app
为此应用选择参考文档
Determine the app profile first. Call (over the Base44 MCP
tool, or with your Base44 CLI token); it returns the framework, app type, runtime,
entitlements and the exact reference files to read. Without it, detect from the project files:
and mean TanStack Start; means a
native mobile (Expo) app; otherwise it is a Vite SPA.
GET /api/apps/{app_id}/agent-profileexecute_apisrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| Profile | Read |
|---|---|
| Web app, Vite SPA (the default web template) | Web app, Vite SPA |
| Web app, TanStack Start | Web app, TanStack Start |
| Native mobile app (Expo, React Native) | Native mobile app (Expo, React Native, NativeWind) |
首先确定应用 Profile。通过 Base44 MCP 的
工具(或使用 Base44 CLI token)调用 ;该接口会返回框架、应用类型、runtime、entitlements 以及需要读取的具体参考文件。如果无法获取该信息,则根据项目文件进行检测:
和 表示 TanStack Start; 表示
原生移动应用(Expo);否则为 Vite SPA。
execute_apiGET /api/apps/{app_id}/agent-profilesrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| Profile | 读取内容 |
|---|---|
| Web 应用,Vite SPA(默认 Web 模板) | Web 应用,Vite SPA |
| Web 应用,TanStack Start | Web 应用,TanStack Start |
| 原生移动应用(Expo、React Native、NativeWind) | 原生移动应用(Expo、React Native、NativeWind) |