Nuxt/examples/markdownit/pages/index.vue

20 lines
265 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 }}
<NuxtLink to="/about">Goto About</NuxtLink>
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 {
2017-10-31 13:43:55 +00:00
data() {
2017-10-27 16:20:12 +00:00
return {
2017-10-27 16:38:47 +00:00
model: 'I am index'
2017-10-27 16:20:12 +00:00
}
}
}
</script>