Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to create components based on their template id, component mappings must be defined. The mappings are JavaScript objects, containing entries whose key is the template id string, and whose value is a direct JavaScript reference to the component type. The mappings are stored in the front-end project, close to template implementations.

Magnolia front-end helpers

For easy integration with the Magnolia Pages app, we provide a collection of helper JavaScript libraries available in the Front-end helpers module:

  • Magnolia React Renderer
  • Magnolia Angular Renderer
  • Magnolia Template Annotations

The renderers take care of rendering SPAs and facilitate rendering of template annotations.


Editing content of an SPA page

...