Nuxt/examples/markdownit/pages/index.vue

22 lines
313 B
Vue
Raw Normal View History

2017-10-27 16:20:12 +00:00
<template lang="md">
# Hello World!
Current route is: {{ $route.path }}
Data model is: {{ model }}
<nuxt-link to="/about">Goto About</nuxt-link>
2017-10-27 16:38:47 +00:00
<nuxt-link to="/pug">Goto Pug</nuxt-link>
2017-10-27 16:20:12 +00:00
</template>
2017-10-27 16:38:47 +00:00
<script>
2017-10-27 16:20:12 +00:00
export default {
data () {
return {
2017-10-27 16:38:47 +00:00
model: 'I am index'
2017-10-27 16:20:12 +00:00
}
}
}
</script>