mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
24 lines
263 B
Vue
24 lines
263 B
Vue
<template>
|
|
<pre>{{ data }}</pre>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
data: {
|
|
type: String,
|
|
default: ''
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
pre {
|
|
background: #222;
|
|
color: #eee;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
</style>
|