Nuxt/examples/jsx/components/test.vue

18 lines
170 B
Vue
Raw Normal View History

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