mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-02 18:37:21 +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>
|