@dblimp/cms
v1.0.3
Published
High-level CMS/composition components for the @dbl framework, built on JSON templates
Readme
@dblimp/cms
CMS JSON-template components for imp-ts,
the TypeScript port of dbl-components.
Installation
yarn add @dblimp/cmsUsage
Import the components and register them into the Goat component registry once (e.g. in your app entry) so JSON templates resolve by name:
import { registerCmsComponents } from "@dblimp/cms";
registerCmsComponents();Components
ArticlesListBlogPostCalendarFieldCardNavigationCardPanelNavigationCardPlansCardServiceCmsTemplateEndpointLoaderHeaderBlogImage(higher-order component that resolves/assetsURLs)NotificationsOpeningHours
Utilities
utils/assets—resolveSrc,deleteUrl, etc.utils/find-scrollable-parent
Notes
Runtime template names such as FloatingContainer are resolved via the Goat
registry at runtime; make sure any referenced container is registered by your
app (e.g. from @dblimp/bs5).
