vapor-chamber API reference - v1.16.0
    Preparing search index...

    Function getVaporInteropPlugin

    • Returns the vaporInteropPlugin if available (Vue 3.6+). Use this to enable mixed Vapor/VDOM component trees.

      Pass-through over Vue's plugin. Since beta.14 the returned reference is safe to hold across HMR cycles (Vue no longer mutates the bridge), and since beta.15 interop vnode reads are guarded against absent vnodes (per-beta detail: CHANGELOG / whitepaper alignment log).

      Returns any

      import { createApp } from 'vue';
      import { getVaporInteropPlugin } from 'vapor-chamber';
      const plugin = getVaporInteropPlugin();
      if (plugin) createApp(App).use(plugin).mount('#app');