Nuxt/examples/markdownit/pages/pug.vue

19 lines
302 B
Vue
Raw Normal View History

2017-10-27 16:38:47 +00:00
<template lang="pug">
div
h1 Pug Page
div(language="md") Current route is: {{ $route.name }}
div(language="md") Data model is: {{ model }}
2017-10-28 09:01:23 +00:00
br
nuxt-link(to='/') Back Home
2017-10-27 16:38:47 +00:00
</template>
<script>
export default {
data () {
return {
model: 'I am pug'
}
}
}
</script>