Install @vue/composition-api as a Vue plugin
mainTo use the Composition API in a Vue 2 project, you must install it as a plugin using Vue.use(). This enables the setup() function and integrates the reactivity system with Vue 2's component lifecycle.
Note: This plugin is specifically designed for Vue 2. It will trigger a warning if used with a version of Vue other than 2.x.