diff options
Diffstat (limited to 'examples/snowpack/src/components/NewsTitle.vue')
-rw-r--r-- | examples/snowpack/src/components/NewsTitle.vue | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/snowpack/src/components/NewsTitle.vue b/examples/snowpack/src/components/NewsTitle.vue new file mode 100644 index 000000000..00194ac1e --- /dev/null +++ b/examples/snowpack/src/components/NewsTitle.vue @@ -0,0 +1,15 @@ +<template> + <h2 class="content-title"> + {{ title }} + </h2> +</template> +<script> +export default { + props: { + title: { + type: String, + required: true + } + } +} +</script> |