Nuxt/examples/jsx/components/test.vue

21 lines
206 B
Vue
Raw Normal View History

2017-12-08 14:58:05 +00:00
<template>
<p v-html="data"/>
2017-12-08 14:58:05 +00:00
</template>
<script>
export default {
props: {
data: {
type: String,
default: ''
}
2017-12-08 14:58:05 +00:00
}
}
</script>
<style scoped>
p {
padding: 5px 20px;
}
</style>