@eeacms/volto-eea-website-theme
v4.3.2
Published
@eeacms/volto-eea-website-theme: Volto add-on
Readme
volto-eea-website-theme
EEA Website Volto Theme
Upgrade
Upgrading to ^4.1.x
- This version requires
^[email protected]
Upgrading to 3.x.x
- This version removes some Volto customizations and it requires Volto 17.20.0+. See CHANGELOG.md
Demo
- https://www.eea.europa.eu
Docusaurus and Storybook
See Docusaurus. See Storybook.
Volto customizations
volto-slate/elementEditor/utils-> https://github.com/plone/volto/pull/5926volto-slate/editor/SlateEditor-> When two slates looks at the same prop changing one slate and updating the other should be handled properly. This change makes replacing the old value of slate work in sync with the other slates that watches the same prop ref.!!IMPORTANT: This change requires volto@^16.26.1
volto/components/manage/Sidebar/SidebarPopup-> https://github.com/plone/volto/pull/5520volto/components/manage/Form/Form.jsx-> Pass errors of metadata validation to BlocksFormvolto/components/manage/Blocks/Block/BlocksForm.jsx-> Pass errors of metadata validation to blocks.
Getting started
Try volto-eea-website-theme with Docker
git clone https://github.com/eea/volto-eea-website-theme.git
cd volto-eea-website-theme
make
make startGo to http://localhost:3000
make start now defaults to Volto 18. To run the same setup against Volto 17, use:
VOLTO_VERSION=17 make
VOLTO_VERSION=17 make startAdd volto-eea-website-theme to your Volto project
Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone
docker compose up backendStart Volto frontend
If you already have a volto project, just update
package.json:"addons": [ "@eeacms/volto-eea-website-theme" ], "dependencies": { "@eeacms/volto-eea-website-theme": "*" }If not, create one with Cookieplone, as recommended by the official Plone documentation for Volto 18+:
uvx cookieplone project cd project-title
Install or update dependencies, then start the project:
make installFor a Cookieplone project, start the backend and frontend in separate terminals:
make backend-start make frontend-startFor a legacy Volto 17 project, install the package with
yarnand restart the frontend as usual.Go to http://localhost:3000
Happy editing!
Release
See RELEASE.md.
How to contribute
See DEVELOP.md.
Copyright and license
The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.
See LICENSE.md for details.
