Vue 2 support
See original GitHub issueI’ve installed this package in an existing Vue 2 project started with vue cli and I can’t seem to get it working I have the following packages installed:
"@vue/composition-api": "^1.0.0-rc.2",
"@vueuse/motion": "^1.0.5",
my main.js looks like
import Vue from 'vue'
import VueCompositionAPI from '@vue/composition-api'
// Packages
import { MotionPlugin } from '@vueuse/motion'
Vue.use(VueCompositionAPI)
Vue.use(MotionPlugin);
export default new Vue({
render: h => h(App),
}).$mount('#app');
I’ve tested the package in a Vue 3 project running with Vite and it’s works really well.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Frequently Asked Questions - Vue.js
We are planning to provide extended support for Vue 2 for teams with such needs - if your team expects to be using...
Read more >Vue - endoflife.date
Vue is a JavaScript framework for building user interfaces. ... Release, Released, Active Support, Security Support, Latest ... 2, 6 years ago.
Read more >How long will Vue 2 be supported? : r/vuejs - Reddit
According to the roadmap, v2 will receive 1 more minor release (v2.7) which will then have 18 months of LTS. Security patches will...
Read more >Should I Use Vue 3 or Vue 2 In 2022? | by Mayank Chaudhari
Already installed Vue CLI? Don't worry! The same CLI offers both Vue 2 as well as Vue 3 support :) To make a...
Read more >Add TypeScript Support to Vue 2 Project | Ji ZHANG's Blog
You should also be familiar with Vue, vue-loader, and webpack. Vue 2 already has good support for TypeScript, and the recently published Vue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @timmaier ;
There is no better advice I can give you than considering updating your app to Vue 3. 🤗
Still, I want Vue 2 to be compatible with this, as it is relying entirely on Composition API, that is available to Vue 2, there should be no issue.
The main “failing” point I can see is the directives, that are not working the exact same.
I’m still digging around this daily and hope I can get a fully working version really soon.
Massive thankyou working in my Vue 2 project now!