All Questions
11 questions
0
votes
0
answers
117
views
Mounted lifecycle hook - difference between Vue 3 and Vue 2
my company migrates project from Vue 2 to Vue 3 and we’ve encountered some troubles with lifecycle hooks. Some external plugins (compatible with Vue 3) have troubles with mounting / unmounting. We ...
1
vote
1
answer
1k
views
Is the any way to install Vuetify 2 on Vue 3?
I need to migrate a fairly large app from Vuetify2/Vue2 to Vuetify3/Vue3. It seems easier to me to migrate to Vue3 first, since now you can continue to use the Option API in Vue3.
1
vote
1
answer
782
views
Vue3: pass all $attrs to child but exclude listeners
Since $attrs and $listeners are now merged in Vue3, how to pass all $attrs to child except listeners?
In Vue2:
<child v-bind="$attrs"/>
But in Vue3 that also leaks listeners into the ...
1
vote
0
answers
785
views
Module "vue" has no exported member 'configureCompat' Vue3
I am currently migrating an application from Vue2 to Vue3.
Following the official guide, Migration Build | Vue 3 Migration Guide (vuejs.org), I am trying to maintain compatibility with Vue2 by using ...
0
votes
0
answers
441
views
vue upgrade - migration from vue2 to vue3
I am upgrading my vue2 project to vue3 using vue upgrade.
the upgrade of plugins
@vue/cli-plugin-router
@vue/cli-plugin-vuex
@vue/cli-service
worked well.
when trying to update plugin @vue/cli-...
3
votes
0
answers
2k
views
Vue 2 to Vue 3 migration (Vuetify 2 to Vuetify 3)
I need some general advice on migration.
This is my 1st time working doing a migration and working with webpack.
This my package.json. Do you think it's possible/ worth it to migrate to Vue 3 / ...
2
votes
1
answer
3k
views
Vue compat migration Component provided template option but runtime compilation is not supported in this build of Vue
So I'm trying to migrate project from vue 2 to vue 3 but unfortuneltely I got a warning:
Component provided template option but runtime compilation is not supported in this build of Vue. Configure ...
2
votes
2
answers
1k
views
how to remove this.$set when migration from vue2 to vue3
I am doing migration from vue2 to vue3 and I need to remove $set as required.
So for example, in my application my code is like this in vue2:
this.$set(..., ..., null);
So to delete it should I use ...
0
votes
1
answer
204
views
Changes in Vue life cycle for Vue2
I am migrating Vue2 to Vue3. For this, I want to start the changes that Vue2 can handle. So here are the changes in Vue3 lifecycle:
So I want to apply these changes and add setup, before I move to ...
0
votes
1
answer
468
views
Migration from Vue2 to Vue3
I am trying to migrate Vue2 to Vue3. For this I uppdated most of the packages to their latest. I deleted some of my packages to make it more summarized but here is my package.json:
{
"private&...
7
votes
0
answers
2k
views
VueConstructor type is missing from Vue3 compat build?
We are in the process of migrating a Vue 2 app with TypeScript to Vue 3. Since that App is rather big, we need to use @vue/compat in order to be able to migrate our App one step at a time.
However, ...