The Accordion widget enables page editors to add an accordion to Happeo pages.
The Accordion Widget is a Happeo App and is built using the Widget SDK.
Happeo Admin access rights
Tools
- npm
npm install npm@latest -g
- node version >16
node -v
You have created a Custom app in Happeo admin and slug is copied to clipboard.
- Clone the repo
- Replace slug in index.js with the clipboard version
- Install NPM packages
npm install
- Start widget
npm run start
- Open Happeo
- Goto pages and edit or create page
- Add Accordion widget
- Start editing and adding content.
- Clone the repo
- Replace slug in index.js with the clipboard version
- Install NPM packages
npm install
- Build widget
npm run build
- Open Happeo admin and upload bundle to your app.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request