mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
106141f74c
* feat: jest-puppeteer example * - Refactor test * - lint * - lint * - eslint-disable no-undef
20 lines
325 B
Vue
Executable File
20 lines
325 B
Vue
Executable File
<template>
|
|
<div>
|
|
<p id="hello-msg">Hi from {{ name }}</p>
|
|
<nuxt-link to="/">Home page</nuxt-link>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
asyncData() {
|
|
return {
|
|
name: process.static ? 'static' : (process.server ? 'server' : 'client')
|
|
}
|
|
},
|
|
head: {
|
|
title: 'About page'
|
|
}
|
|
}
|
|
</script>
|