Versions Compared

Key

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

...

Table of Contents

Installing and usage

You can add the libraries to your SPA project either by installing them using the npm install command,

Mgnl mini code snippet
Styleboxed

npm install --save @magnolia/template-annotations

or by including them as project dependencies.

The helpers have the following npm package names:

You can add these libraries to your SPA project by installing them as project dependencies, for example, through the npm install command:

Mgnl mini code snippet
Styleboxed

npm install @magnolia/template-annotations


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

...

Front-end helpers in Magnolia example SPA pages

You don't need have to include these the 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 the required dependencies to the helper libraries.