<template>
  <div>
    <h1>{{ data.title }}</h1>
    <img :src="'http://localhost:1337' + data.cover.url" alt="" />
    <div>{{ data.description }}</div>
  </div>
</template> 

<script>
export default {
  async asyncData({ $strapi }) {
    const post = await $strapi.find('functions')
    const data = await $strapi.find('sp-16')
    console.log(post, data)
    return { post, data }
  },
}
</script>
