I’m following the guide https://www.contentful.com/blog/2019/04/05/nuxtjs-contentful-seo-blog/ to integrate contentful cms to my nuxt project.
Why is it that when I place the sample code from that guide in my index.vue, the blog posts show but they do not when I place the sample code inside my contentful.vue page and use it as a component for my index.vue?