This is a Volto project (using Volto 5.x.x) that shows how to deal with addons as released packages (ie. released in an npm registry) or locally while developing them.
Two branches are provided in this repo:
- usingreleasedpackage
- usingmrsdeveloper
Both use an example package volto-testaddon
, which is released:
https://www.npmjs.com/package/volto-testaddon
and you can find it on github: https://github.com/sneridagh/volto-testaddon
It features a view DummyView
that this project will use to override the Document
View.
Install deps:
yarn
start the project:
yarn start
Take a look at the changes for how to setup your project to work with add-ons.