mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
20 lines
223 B
Vue
20 lines
223 B
Vue
|
<template>
|
||
|
<pre>{{ data }}</pre>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
props: {
|
||
|
data: String
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
pre {
|
||
|
background: #222;
|
||
|
color: #eee;
|
||
|
margin: 0;
|
||
|
padding: 20px;
|
||
|
}
|
||
|
</style>
|