Nuxt/examples/with-ava/pages/index.vue

20 lines
196 B
Vue
Raw Normal View History

2016-11-07 01:34:58 +00:00
<template>
<h1 class="red">
Hello {{ name }}!
</h1>
2016-11-07 01:34:58 +00:00
</template>
<script>
export default {
2017-10-31 13:43:55 +00:00
data() {
2016-11-07 01:34:58 +00:00
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>