开始
复制一个包含安装步骤和本插件的完整 Markdown 指南的配置提示。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-updater`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/updater/local-dev/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
本教程将涵盖什么?
标题为“本教程将涵盖什么?”的部分本教程将展示如何从零开始使用 Supabase,以及如何启动 Edge 函数
要求
标题为“要求”开始使用
开始使用要开始使用,请运行
supabase start下一步应该看到类似这样的内容:
Started supabase local development setup.
API URL: http://localhost:54321 GraphQL URL: http://localhost:54321/graphql/v1 DB URL: postgresql://postgres:postgres@localhost:54322/postgres Studio URL: http://localhost:54323 Inbucket URL: http://localhost:54324 JWT secret: [truncated] anon key: supa_key_anonservice_role key: supa_key_admin下一步打开 configs.json 并设置以下值:
{ "base_domain": { "prod": "console.capgo.app", "development": "development.console.capgo.app", "local": "localhost:3332" }, "supa_anon": { "prod": "supa_key_anon", "development": "supa_key_anon", "local": "supa_key_anon" }, "supa_url": { "prod": "http://localhost:54321", "development": "http://localhost:54321", "local": "http://localhost:54321" }}哪里 supa_key_anon 是上一步的值。
接下来,验证您可以访问 localhost:54323 并且表格 users 看起来像这样

如果它开始,请通过运行:
supabase functions serve并开始前端开发:
bun run serve继续从 Getting started
标题:继续从 Getting started如果您正在使用 Getting started 来规划原生插件工作,连接它与 使用 @capgo/capacitor-updater 在使用 @capgo/capacitor-updater 中的原生能力 Capgo 插件目录 在 Capgo 插件目录 中的产品工作流程 Capacitor 插件由 Capgo 提供 了解 Capacitor 插件由 Capgo 提供的实现细节 添加或更新插件 了解添加或更新插件的实现细节 Ionic 企业插件替代品 了解 Ionic 企业插件替代品的产品工作流程