This package has moved to the Ethisys Core package feed. In Ethisys Core, open the Developers page and follow the setup steps (cc login connects npm to the feed).
本地/CI/故事本开发的模拟执行——使 HTML 与 data-testid 属性, 因此插件 UI 可以在没有真实主机的情况下运行和测试
典型用途
// Types compile against the host surface; production externalises the import.
import type { GogoTheme, GogoThemeProviderProps } from "@ethisyscore/host-ui-externals";
// Local dev / tests substitute the mock provider.
import { GogoThemeProvider } from "@ethisyscore/host-ui-externals/mock";
Tier T主机供应的Gogo UI外部机型合同和模拟构建. 插件的构建依赖于此作为 dev-dep ; 生产捆绑将指定符外部化, 所以运行时会使用主机已注册的模块实例 .注意:该包已被作者标记为弃用——This package has moved to the Ethisys Core package feed. In Ethisys Core, open the Developers page and follow the setup steps (cc login connects npm to the feed).