Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 577 Bytes

File metadata and controls

17 lines (11 loc) · 577 Bytes

React IndexedDB Example

This example encapsulates the BlockSuite editor and doc collection in React, demonstrating document management within an IndexedDB database.

Note that here we persist a doc collection with multiple documents in IndexedDB. If you only need to save single document, please checkout the minimal vanilla-indexeddb example.

Development

git clone https://github.com/toeverything/blocksuite.git
cd blocksuite/examples

pnpm install
pnpm dev react-indexeddb

This project is created using the pnpm create vite cli.