You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Magnolia front-end helpers are collections of JavaScript libraries that enable easy integration of single-page applications in the Magnolia Pages app. Currently, the helpers are available from our Bitbucket repository https://git.magnolia-cms.com/scm/modules/frontend-helpers.git, and currently consist of the following:

  • Angular renderer.
  • React renderer.
  • Magnolia Template Annotations. The annotations make content from a front-end project editable in Magnolia. This is achieved by injecting annotations (HTML comments) around components/templates which the Magnolia Page Editor transforms into controls for web content editors.

Installing and usage

For more information on how to install and use these helper libraries, click the following links:

On npmjs.com, the helpers have the following package names:

Front-end helpers in Magnolia example SPA pages

You don't need to include these helpers manually if you would like to try out our example Angular and React SPA demo pages:

Each of these two example SPA pages already include required dependencies to the helper libraries.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels