mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
21 lines
450 B
Vue
21 lines
450 B
Vue
<template lang="pug">
|
|
div
|
|
h1 Pug Page
|
|
:markdown-it()
|
|
## Current route is: {{ $route.name }}
|
|
div(v-html="$md.render(model)")
|
|
|
|
br
|
|
nuxt-link(to='/') Back Home
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
model: '## Title h2\n### title h3\n\nLong text Long text Long text Long text Long text Long text Long text Long text Long text \n\n* gimme a list item\n* and one more yeehaw'
|
|
}
|
|
}
|
|
}
|
|
</script>
|