mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-05-31 02:01:10 +08:00
Save diagram to IndexedDb
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import Dexie from "dexie";
|
||||
|
||||
const db = new Dexie("diagrams");
|
||||
|
||||
db.version(1).stores({
|
||||
diagrams: "++id",
|
||||
});
|
||||
|
||||
export { db };
|
||||
Reference in New Issue
Block a user