Nuxt/examples/markdownit/pages/pug.vue
2017-10-28 11:01:23 +02:00

19 lines
302 B
Vue

<template lang="pug">
div
h1 Pug Page
div(language="md") Current route is: {{ $route.name }}
div(language="md") Data model is: {{ model }}
br
nuxt-link(to='/') Back Home
</template>
<script>
export default {
data () {
return {
model: 'I am pug'
}
}
}
</script>