Skip to content

Instantly share code, notes, and snippets.

@beardcoder
Last active February 9, 2022 08:58
Embed
What would you like to do?
Synced via Snip
<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