export default { async asyncData({ params, $axios }) { const data = await $axios.$get(`/api/posts/${params.id}`); return { post: data } } }