https://github.com/hellocoop/button
https://github.com/hellocoop/button
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hellocoop/button
- Owner: hellocoop
- License: mit
- Created: 2022-10-11T10:01:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-02T18:08:15.000Z (over 1 year ago)
- Last Synced: 2025-02-01T06:24:43.798Z (over 1 year ago)
- Language: CSS
- Size: 545 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hello.dev
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
## Getting started
### Prerequisites
1. Git
1. A fork of the repo (for any contributions)
1. 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](https://github.com/hellocoop/wallet-i18n) as a [git submodule](https://www.git-scm.com/book/en/v2/Git-Tools-Submodules))
### Installation
1. `cd button` to go into the project root
1. `npm i` to install the npm dependencies
### Running locally
`npm run dev` to start the hot-reloading development server (powered by [Vite](https://vitejs.dev/))
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`
## License
[MIT](LICENSE)