Nuxt/examples/pug/pages/about.vue
Alexander Lichter bf505eccd5 chore: add pug example (#4409)
[skip release]
2018-11-25 15:43:07 +03:30

19 lines
292 B
Vue
Executable File

<template lang="pug">
div
p Hi from {{ name }}
NuxtLink(to="/") Home Page
</template>
<script>
export default {
asyncData() {
return {
name: process.static ? 'static' : (process.server ? 'server' : 'client')
}
},
head: {
title: 'About page'
}
}
</script>