mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +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>
|