Nuxt/examples/uikit/pages/about.vue

20 lines
403 B
Vue
Raw Normal View History

2017-08-24 12:28:49 +00:00
<template>
<div class="uk-card uk-card-body">
<p>Hi from {{ name }}</p>
<span class="uk-margin-small-right" uk-icon="icon: check"/>
<a href="#" uk-icon="icon: heart"/>
2017-08-24 12:28:49 +00:00
<hr class="uk-divider-icon">
<nuxt-link to="/">Home page</nuxt-link>
</div>
</template>
<script>
export default {
2017-10-31 13:43:55 +00:00
asyncData({ req }) {
2017-08-24 12:28:49 +00:00
return {
name: req ? 'server' : 'client'
}
}
}
</script>