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

20 lines
197 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 {
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>