Awesome
volto-widget-toggle
Volto add-on: Replace any checkbox with a nice toggle button within edit forms
Features
Getting started
Try volto-widget-toggle with Docker
git clone https://github.com/eea/volto-widget-toggle.git
cd volto-widget-toggle
make
make start
Go to http://localhost:3000
Add volto-widget-toggle 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-widget-toggle" ], "dependencies": { "@eeacms/volto-widget-toggle": "*" }
-
If not, create one:
npm install -g yo @plone/generator-volto yo @plone/volto my-volto-project --canary --addon @eeacms/volto-widget-toggle 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.