Nuxt/examples/markdownit/pages/index.vue

20 lines
265 B
Vue

<template lang="md">
# Hello World!
Current route is: {{ $route.path }}
Data model is: {{ model }}
<NuxtLink to="/about">Goto About</NuxtLink>
</template>
<script>
export default {
data() {
return {
model: 'I am index'
}
}
}
</script>