mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 00:52:01 +00:00
19 lines
275 B
Vue
19 lines
275 B
Vue
|
<template>
|
||
|
<div>
|
||
|
My Component
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent, PropType } from 'vue'
|
||
|
|
||
|
export default defineComponent({
|
||
|
props: {
|
||
|
stringItems: {
|
||
|
type: Array as PropType<string[]>,
|
||
|
required: true,
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
</script>
|