Canner Compiler is a compiler for Canner CMS schema that processes schema definitions and generates configurations for CMS rendering. The latest stable version is 3.2.1. It is part of the Canner CMS ecosystem and is used to compile schema written in Canner's declarative format. Key differentiators: integrates deeply with React (>=16.3) and provides validation via ajv, relation HOCs for data fetching, and route management. Releases are sporadic with incremental features.
npm install canner-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Imports the compiler, compiles a simple CMS schema into a configuration object.
Use default import: import compiler from 'canner-compiler'.
Use import compiler from 'canner-compiler'.
Upgrade React to >=16.3.
Run npm install canner-compiler and use import compiler from 'canner-compiler'.
Use default import: import compiler from 'canner-compiler'.
The 'compiled' object is configuration; it must be used with Canner CMS renderers, not directly rendered as a component.