Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Typescript Vue Template
<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
export default class MyComponent extends Vue {
@Prop({ default: null }) items: string[];
<style scoped>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment