mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
20 lines
218 B
Vue
20 lines
218 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<p class="red-color">Hello {{ name }}!</p>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data () {
|
||
|
return { name: 'world' }
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
.red-color {
|
||
|
color: red;
|
||
|
}
|
||
|
</style>
|