Nuxt/examples/dynamic-components/components/text.vue

17 lines
169 B
Vue
Raw Normal View History

2017-07-08 23:44:59 +00:00
<template>
<p v-html="data"></p>
</template>
<script>
export default {
props: {
data: String
}
}
</script>
<style scoped>
p {
padding: 5px 20px;
}
</style>