Skip to content

Using Options from vue-class-component 8.0.0-rc.1 #86

Closed
@CurrentlyNoName

Description

@CurrentlyNoName

Hello,

quite some time ago, we started using vue-class-component with vue 3 and it was the version 8.0.0-rc.1 back then. Sadly it's not supported anymore and the vue-class-component is blocking the usage of never vue 3-versions. That's when I found this project and I wanted to ask if it's possible to use the "Options" from the "old" component (or if it's not, if it's possible to migrate.

The Source-Code looks like this

`
import {Options, Vue} from "vue-class-component";

@options({
components: {
SomeComponents
},
props: {
myString: {
type: String,
},
},
watch: {
show: function() {
// Do something
}
},
emits: ["emitSomething"],
})

export default class MyClassextends Vue {

}
`

It possible to migrate this to the vue-facing-decorator?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions