Files
aliasvault/docs/misc/dev/configure-sqlite-wasm.md
Leendert de Borst 7ce253e93d Update docs (#402)
2024-11-22 00:40:41 +01:00

613 B

layout, title, parent, grand_parent, nav_order
layout title parent grand_parent nav_order
default Configure SQLite for use with WebAssembly Development Miscellaneous 2

Configure SQLite for use with WebAssembly

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