Volto add-on
A customizable banner to highlight to the user that the website is in demo, dev or staging state.
It is configurable through /controlpanel/banner
.
- Version
2.x.x
requires eea.banner Plone add-on to be installed on backend.
git clone https://github.com/eea/volto-banner.git
cd volto-banner
make
make start
Go to http://localhost:3000
-
Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone
docker compose up backend
-
Start Volto frontend
-
If you already have a volto project, just update
package.json
:"addons": [ "@eeacms/volto-banner" ], "dependencies": { "@eeacms/volto-banner": "*" }
-
If not, create one:
npm install -g yo @plone/generator-volto yo @plone/volto my-volto-project --canary --addon @eeacms/volto-banner cd my-volto-project
-
Install new add-ons and restart Volto:
yarn yarn start
-
Go to http://localhost:3000
-
Happy editing!
See RELEASE.md.
See DEVELOP.md.
The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.
See LICENSE.md for details.