mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 18:07:22 +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>
|