// Vue compatibility layer for both Vue 2 (via @vue/composition-api) and Vue 3. // UniApp conditional compilation (#ifdef VUE2 / #ifdef VUE3) is used to resolve // the import source at build time. // // Usage: import { ref, computed, watch, ... } from '../adapter/vue-demi'; // // @ts-nocheck — Rollup sees both branches during build, causing harmless TS2308 // "already exported" warnings. Only one branch survives in the actual build. // #ifndef VUE3 export * from '@vue/composition-api'; // #endif // #ifdef VUE3 export * from 'vue'; // #endif