Files
aliasvault/docs/misc/configure-sqlite-wasm.md

434 B

To configure SQLite for use with WebAssembly follow these steps:

  1. Add NuGet package
dotnet add package SQLitePCLRaw.bundle_e_sqlite3
  1. Modify .csproj and add the following:
    <PropertyGroup>
        <WasmBuildNative>true</WasmBuildNative>
    </PropertyGroup>
  1. Make sure the "wasm-tools" workload is installed on the local machine in order to build the project:
dotnet workload install wasm-tools