Skip to content

Instantly share code, notes, and snippets.

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