1×
Become a member
to unlock all features
Autoplay

    Use Properties in Vue Components Using @Prop Decorator with TypeScript

    vueVue.js
    ^2.2.6

    With properties we can follow a one-way parent→child flow communication between components. This lesson shows you how you can pass down properties to class based Vue components by using the @Prop decorator from vue-property-decorator.

    We’ll also see how we can set types and even default properties on @Prop!