Nuxt/examples/custom-loading/pages/about.vue

27 lines
391 B
Vue
Raw Normal View History

2016-11-11 14:30:11 +00:00
<template>
<div class="container">
<p>About Page</p>
2016-12-16 17:12:38 +00:00
<nuxt-link to="/">Go to /</nuxt-link>
2016-11-11 14:30:11 +00:00
</div>
</template>
<script>
export default {
data () {
return new Promise((resolve) => {
setTimeout(function () {
resolve({})
}, 1000)
})
}
}
</script>
<style scoped>
.container {
font-size: 20px;
text-align: center;
padding-top: 100px;
}
</style>