function provideRunicInstance(instance: RunicInstance): void; Makes instance the Runic instance of the calling component and its descendants: useView, useField, useText, useBridgeConnection, useAppearance and the other composables below it connect and read through it instead of the page instance. Call it in setup(). A guest that renders inside another page, such as an embedded component, calls it in its root component (or provides runicInstanceKey on its app).
const instance = createRunicInstance({ bridge });
createApp(defineComponent({ setup() { provideRunicInstance(instance); return () => h(App); } })).mount(element);