@eeacms/volto-eea-website-theme
v3.2.0
Published
@eeacms/volto-eea-website-theme: Volto add-on
Downloads
707
Readme
volto-eea-website-theme
EEA Website Volto Theme
Upgrade
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 start
Go to http://localhost:3000
Add 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 backend
Start 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:
npm install -g yo @plone/generator-volto yo @plone/volto my-volto-project --canary --addon @eeacms/volto-eea-website-theme cd my-volto-project
Install new add-ons and restart Volto:
yarn yarn start
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.