mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +00:00
21 lines
206 B
Vue
21 lines
206 B
Vue
<template>
|
|
<p v-html="data"/>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
data: {
|
|
type: String,
|
|
default: ''
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
p {
|
|
padding: 5px 20px;
|
|
}
|
|
</style>
|