vue property decorator

Solutions on MaxInterview for vue property decorator by the best coders in the world

showing results for - "vue property decorator"
Lilian
27 Jun 2019
1import { Vue, Component, VModel } from 'vue-property-decorator'
2
3@Component
4export default class YourComponent extends Vue {
5  @VModel({ type: String }) name!: string
6}