mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
20 lines
196 B
Vue
Executable File
20 lines
196 B
Vue
Executable File
<template>
|
|
<h1 class="red">
|
|
Hello {{ name }}!
|
|
</h1>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return { name: 'world' }
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.red {
|
|
color: red;
|
|
}
|
|
</style>
|