How the CMS is configured in zopio
.
zopio
has a dedicated CMS package that can be used to generate type-safe data collections from your content. This approach provides a structured way to manage your content while maintaining full type safety throughout your application. By default, next-forge uses BaseHub as the CMS.
basehub/zopio
templatepnpm dev
, the CMS package will generate the type-safe BaseHub SDK, and watch changes to your CMS’s schema.
Restart TS Server
in your IDE for TypeScript to pick up the new types.cms
package, within the blog
and legal
objects. You can read more about the BaseHub SDK in their docs.