vue-lynx
Welcome to the API reference for vue-lynx, the package that provides the Vue 3 framework for building Lynx apps. For an introduction, see the Getting Started guide.
Vue APIs
Vue Lynx uses Vue 3's @vue/runtime-core directly — the reactivity system, component model, lifecycle hooks, and Composition API are all standard Vue. You can expect these APIs to behave consistently with the official Vue 3 documentation unless otherwise noted below.
This means ref(), reactive(), computed(), watch(), onMounted(), defineComponent(), and all other Vue Composition APIs work exactly as documented on vuejs.org. The only difference is that you import them from vue-lynx instead of vue:
Vue Lynx APIs
The following APIs are specific to Vue Lynx's dual-thread architecture (Background Thread renderer + Main Thread native elements):
Built-in Components
<Transition> is fully supported (with or without :duration). The only remaining gap is Move (FLIP) animations in <TransitionGroup> — getBoundingClientRect() is unavailable from the background thread.
Vue Re-exports
Standard Vue 3 APIs re-exported from vue-lynx. See Vue.js API Reference for full documentation.