This repo contains the source code for the Hellō Button CSS and JS at https://cdn.hello.coop/css/hello-css.js and https://cdn.hello.coop/js/hello-btn.js
- Git
- A fork of the repo (for any contributions)
- Run
git clone https://github.com/hellocoop/button.git --recursiveto get a copy of the repo on your local machine.
(--recursiveflag must be passed because the repo contains hellocoop/wallet-i18n as a git submodule)
cd buttonto go into the project rootnpm ito install the npm dependencies
npm run dev to start the hot-reloading development server (powered by Vite)
Edits made in hello-btn.js and hello-btn.css will reflect in index.html which is loaded by the dev server.
Since the repo contains a git submodule, to pull the latest changes:
git pull && git submodule update