mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 11:45:11 +00:00
29 lines
405 B
Vue
29 lines
405 B
Vue
<template>
|
|
<div class="container">
|
|
<p>About Page</p>
|
|
<NuxtLink to="/">
|
|
Go to /
|
|
</NuxtLink>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
asyncData() {
|
|
return new Promise((resolve) => {
|
|
setTimeout(function () {
|
|
resolve({})
|
|
}, 1000)
|
|
})
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.container {
|
|
font-size: 20px;
|
|
text-align: center;
|
|
padding-top: 100px;
|
|
}
|
|
</style>
|