UNPKG

react-mercure

Version:

React hook that make working with Mercure easy

19 lines (12 loc) 338 B
# React Mercure Simple Example ## Installation Start official [Mercure hub](https://mercure.rocks/docs/hub/install) with docker ```bash docker-compose up -d ``` Go to [https://localhost/.well-known/mercure/ui/] to send events Start Vite server ```bash w npm run dev ``` Go to the address printed by Vite and play with the demo!