Nuxt/examples/hello-world-jsx/pages/index.vue

11 lines
161 B
Vue
Raw Normal View History

2017-02-17 15:12:20 +00:00
<script>
export default {
render (h) {
return <div>
<h1>Welcome!</h1>
<nuxt-link to="/about">About page</nuxt-link>
</div>
}
}
</script>