mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +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>
|