1
0
mirror of https://github.com/nuxt/nuxt.git synced 2024-12-18 18:27:13 +00:00
Nuxt/examples/dynamic-components/components/text.vue
2017-07-09 01:44:59 +02:00

17 lines
169 B
Vue

<template>
<p v-html="data"></p>
</template>
<script>
export default {
props: {
data: String
}
}
</script>
<style scoped>
p {
padding: 5px 20px;
}
</style>