1
0
mirror of https://github.com/nuxt/nuxt.git synced 2024-12-19 02:37:30 +00:00
Nuxt/examples/pug/pages/about.vue
Alexander Lichter bf505eccd5 chore: add pug example ()
[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>