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