https://github.com/ctnicholas/liveblocks-comments-default-components
https://github.com/ctnicholas/liveblocks-comments-default-components
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctnicholas/liveblocks-comments-default-components
- Owner: CTNicholas
- Created: 2023-11-13T14:02:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T14:06:16.000Z (over 2 years ago)
- Last Synced: 2025-02-14T22:48:11.649Z (over 1 year ago)
- Language: TypeScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
https://github.com/CTNicholas/liveblocks-comments-default-components/assets/33033422/f2668562-c2c3-43d4-a1b1-4c7d3741513d
## Liveblocks Comments customised default components
This demo shows you how to customise [Liveblocks Comments](https://liveblocks.io/comments) default components.
### Set up Liveblocks
- Install all dependencies with `npm install`
- Create an account on [liveblocks.io](https://liveblocks.io/dashboard)
- Copy your **secret** key from the [dashboard](https://liveblocks.io/dashboard/apikeys)
- Create an `.env.local` file and add your **secret** key as the `LIVEBLOCKS_SECRET_KEY` environment
variable
- Run `npm run dev` and go to [http://localhost:3000](http://localhost:3000)