From cad954db5727a5da3ad466c881164a69e9fd26c0 Mon Sep 17 00:00:00 2001 From: Daniel Cachapa Date: Sun, 2 Apr 2023 17:39:08 +0200 Subject: [PATCH] Add web setup instructions to crdt_sqlite --- sqlite_crdt/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sqlite_crdt/README.md b/sqlite_crdt/README.md index bce5ee4..a0eaf3c 100644 --- a/sqlite_crdt/README.md +++ b/sqlite_crdt/README.md @@ -42,6 +42,16 @@ sudo dnf install sqlite-devel Otherwise check the instructions on [sqflite_common_ffi](https://pub.dev/packages/sqflite_common_ffi). +### Web + +This package has experimental support for Flutter Web, thanks to [sqflite_common_ffi_web](https://pub.dev/packages/sqflite_common_ffi_web). + +In order to use this feature you'll need to install the Sqlite3 web binaries by running the following command from the project's root: + +```bash +dart run sqflite_common_ffi_web:setup +``` + ## Usage Check [example.dart](https://github.com/cachapa/sqlite_crdt/blob/master/example/example.dart) for more details.