1
0
mirror of https://github.com/nuxt/nuxt.git synced 2024-12-21 03:37:19 +00:00
Nuxt/examples/with-ava/pages/index.vue

18 lines
189 B
Vue
Raw Normal View History

2016-11-07 01:34:58 +00:00
<template>
2016-12-30 11:17:52 +00:00
<h1 class="red">Hello {{ name }}!</h1>
2016-11-07 01:34:58 +00:00
</template>
<script>
export default {
data () {
return { name: 'world' }
}
}
</script>
<style>
2016-12-30 11:17:52 +00:00
.red {
2016-11-07 01:34:58 +00:00
color: red;
}
</style>