mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +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>
|