Skip to main content

All Questions

11 votes
4 answers
9k views

Migrating from vue2 with property-decorator and class style syntax to vue3

I maintain quite a large vue2 project, which among other libraries makes use of Vuetify, vue-class-component, vue-property-decorator and typescript. Example component: (The component is simplified ...
Farsen's user avatar
  • 1,697
1 vote
1 answer
914 views

How to use a function defined in composition api in options api?

I have a component and I'm using both composition api and options api. I want to use a function in options api which defined in composition api. How can i handle it? For example; <template> <...
Uğur Can's user avatar
  • 164
16 votes
1 answer
4k views

Do I have to use the Composition API in Vue 3, or can I still do things the "Vue 2" way?

Is it possible to install Vue 3, but still do things the "Vue 2" way? In other words, I see that Vue 3 has the new Composition API, but is that optional or the required way of doing things ...
HartleySan's user avatar
  • 7,850