cms-front
cms-front copied to clipboard
Can't use asyncData to get Data before a slot is initialized
eg:
async asyncData ({ params }) { let { data } = await axios.get(
https://my-api/posts/${params.id}) return { title: data.title } }
it can't find title