mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
19 lines
301 B
Vue
19 lines
301 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>
|