Nuxt/examples/with-ava/pages/index.vue
2017-10-31 21:43:55 +08:00

18 lines
188 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>