Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gil0mendes/love-page
Easy integration for people love your work ❤️
https://github.com/gil0mendes/love-page
button custom-element integration vanilla-js
Last synced: 4 days ago
JSON representation
Easy integration for people love your work ❤️
- Host: GitHub
- URL: https://github.com/gil0mendes/love-page
- Owner: gil0mendes
- Created: 2021-08-29T18:01:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-26T21:58:51.000Z (over 3 years ago)
- Last Synced: 2025-01-29T21:50:00.708Z (11 days ago)
- Topics: button, custom-element, integration, vanilla-js
- Language: TypeScript
- Homepage: https://www.lovepage.one/
- Size: 352 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Page Loves
A non-configuration button for allowing users to love your web pages and blog posts.
## Simplest example
The button is a custom element that can be added directly to the page. Below there is a minimal example:
```html
```
The above will render a love button, persisting loves counts per url.
## Development
Clone the repo and install dependencies via pnpm:
```
pnpm
```The project uses [Vite](https://vitejs.dev/) for development, all the code can be found on the `src` directory. To start the development server run the command:
```
pnpm dev
```