Skip to content

Commit

Permalink
Add web setup instructions to crdt_sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
cachapa committed Apr 2, 2023
1 parent eda31cf commit cad954d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sqlite_crdt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cad954d

Please sign in to comment.