base44-platform-platform

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 的提示词源编译而成; 源提交记录位于仓库根目录的 /SOURCE_COMMIT 中。此处的修改会在 下次同步时被覆盖;请改为修改源文件。 -->

Base44 platform

Base44 平台

A Base44 web app is a Vite + React SPA or a TanStack Start project backed by Base44's entities, functions and auth. This reference is the platform orientation the builder itself works from: concepts, file layout, authentication wiring and user invites.
Base44 Web 应用是基于 Vite + React 的 SPA,或是使用 Base44 的 entities、functions 和 auth 作为后端的 TanStack Start 项目。本参考文档是 builder 自身所依据的平台入门说明,涵盖平台概念、文件布局、身份验证接入和用户邀请。

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)
首先确定应用配置(app profile)。调用
GET /api/apps/{app_id}/agent-profile
(通过 Base44 MCP 的
execute_api
工具,或使用 Base44 CLI 令牌);该接口会返回框架、应用类型、运行时、权限以及需要阅读的确切参考文件。如果不调用该接口,则根据项目文件进行检测:存在
src/routes/__root.*
和
src/routeTree.gen.ts
表示使用 TanStack Start;存在
app/_layout.*
表示使用原生移动(Expo)应用;否则为 Vite SPA。
应用配置阅读
Web 应用,Vite SPA(默认 Web 模板)Web 应用,Vite SPA
Web 应用,TanStack StartWeb 应用,TanStack Start
原生移动应用(Expo、React Native)原生移动应用(Expo)