Nuxt/examples/markdownit/pages/pug.vue

19 lines
301 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 {
2017-10-31 13:43:55 +00:00
data() {
2017-10-27 16:38:47 +00:00
return {
model: 'I am pug'
}
}
}
</script>