mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +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>
|