currently in the project we uses Vue 2.x and our components works in such way
@Component({
template: `
<div>
some code ....
<div> `
})
export default class class1 extends Vue {
@Prop() data: IsomeData;
}
vue-class-component and vue-property-decorator allows us to right in this way, according the docs, @Component was replaced to @Options({}).
How can I migrate to Vue3 without headbreaking refactoring?
I'm trying to migrate vue2 to vue3 in 2023. https://class-component.vuejs.org/ mentions the below.
The vue-class-migrator looks like to be good solution.