Versions Compared

Key

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

...

To serve SPA pages, you need to: 

  • Configure Develop and run a JavaScript framework server. Currently, the following JavaScript web frameworks are supported: Angular and ReactJShost 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 index.html file you correctly reference all CSS and JavaScript files assembled by the front-end framework.

...