I started working with Prismic a few days ago. The setup has been quite seamless so far, and I've had little to no issue integrating my own custom types and setting up the API with a NestJS (express) backend. I'm working on providing a few custom type fields for SEO purposes: things like description
, title
, image
, etc. These fields are rendered to meta
tags by the server. They are declared on my page
custom type on a tab named Meta
.
I want to use those same fields on a different custom type. Is there a way to inherit content types or their fields? I simply want to avoid having to add the fields on every custom type I create, so an option for a custom type to inherit fields from another would be helpful.
For example, could a new custom type - say landing
- inherit the tab that declares the SEO fields from the page
custom type? This would make it to where I don't have to maintain several fields that are essentially global to the application.
Any help or insights would be great since I'm new to Prismic.