mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
19 lines
302 B
Vue
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>
|