Answers for "vue property decorator"

2

vue property decorator

import { Vue, Component, VModel } from 'vue-property-decorator'

@Component
export default class YourComponent extends Vue {
  @VModel({ type: String }) name!: string
}
Posted by: Guest on April-16-2021

Code answers related to "vue property decorator"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language