Document ESM UI providers - #613
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ad36cbb181
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 安装依赖: | ||
|
|
||
| ```bash | ||
| pnpm install @halo-dev/ui-plugin-bundler-kit@2.26.0 vite -D |
There was a problem hiding this comment.
Install ui-shared before building the theme provider
For a new ui-plugin created by following this guide, both dependency commands install only the bundler and build tool, while the entry shown above directly imports @halo-dev/ui-shared. With pnpm's strict dependency resolution, that import is unavailable unless the project declares it directly, so either Vite or Rsbuild fails before producing dist; include a compatible @halo-dev/ui-shared dependency in both setup paths.
Useful? React with 👍 / 👎.
Summary
stores.uiPlugins()API for querying plugin and theme provider registration status.Related
Testing
corepack pnpm@10.33.0 lintcorepack pnpm@10.33.0 buildgit diff --check