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 --recursive
to get a copy of the repo on your local machine.
(--recursive
flag must be passed because the repo contains hellocoop/wallet-i18n as a git submodule)
cd button
to go into the project rootnpm i
to 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