Hey Tim! π
I really appreciate you making your website opensource! I have used Prismic and Nuxt many times in the past, but with the new Prismic/Nuxt Module I wanted to try some Graphql action for a change. So far its going great, I have successfully queried all my data and posts/projects and am working towards launching a portfolio of my own once I get all the styling done. Although I have structured my project and lot differently and mainly am using your repo as a reference for querying data/slices, I am interested in the mapMetaInfo mixin. I am having trouble wrapping my head around it for the most part.. mainly the first getPropType
function.
I was wondering if you could you help explain what that is exactly looking for? Perhaps I need to structure my slices differently on the Prismic side of things, but it seems to me that it is searching for the first primary slice type on each page (or maybe its not)π Also I see you have a general_card and twitter_card slice type within the index.vueβthose needed for the Meta mixin as well? I know this all sounds very noobish, but I generally just place all my meta data (og and twitter info) in my nuxt.config lol so creating meta info per page/post is new to me.
I will likely make a more simple version of the mapMetaInfo mixin once I get a grasp on it.
Any help would be great!