Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Small changes. Links to NPM packages.

...

  • Develop and host a JavaScript SPA. It could be hosted on a Magnolia instance or another delivery platform such as a CDN, front-end app server like Next, or any other server. Currently, Angular and React are supported.
  • Connect the SPA to the REST endpoints of the Magnolia public instance which will serve page content and template information to the SPA. 
  • Make sure that page , area and component templates developed in the front-end framework are correctly mapped to their Magnolia counterparts, and that besides the indexthe page template definition (using the SPA root index.html file you ) correctly reference references all CSS and JavaScript files assembled by the front-end framework.

...

The rendering of an SPA page is done through the JavaScript libraries included in the external React or Angular frameworkMagnolia JavaScript libraries available via npm (@magnolia/react-editor and @magnolia/angular-editor). The libraries assemble a component tree from the REST-delivered content and templates.

...