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
GET /api/apps/{app_id}/agent-profile
(over the Base44 MCP
execute_api
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:
src/routes/__root.*
and
src/routeTree.gen.ts
mean TanStack Start;
app/_layout.*
means a native mobile (Expo) app; otherwise it is a Vite SPA.
ProfileRead
Web app, Vite SPA (the default web template)Web app, Vite SPA
Web app, TanStack StartWeb app, TanStack Start
Native mobile app (Expo, React Native)Native mobile app (Expo, React Native, NativeWind)
首先确定应用 Profile。通过 Base44 MCP 的
execute_api
工具(或使用 Base44 CLI token)调用
GET /api/apps/{app_id}/agent-profile
;该接口会返回框架、应用类型、runtime、entitlements 以及需要读取的具体参考文件。如果无法获取该信息,则根据项目文件进行检测:
src/routes/__root.*
和
src/routeTree.gen.ts
表示 TanStack Start;
app/_layout.*
表示 原生移动应用(Expo);否则为 Vite SPA。
Profile读取内容
Web 应用,Vite SPA(默认 Web 模板)Web 应用,Vite SPA
Web 应用,TanStack StartWeb 应用,TanStack Start
原生移动应用(Expo、React Native、NativeWind)原生移动应用(Expo、React Native、NativeWind)