Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 ❤️

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
```