mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-01 05:16:04 -05:00
19 lines
434 B
Markdown
19 lines
434 B
Markdown
To configure SQLite for use with WebAssembly follow these steps:
|
|
|
|
1. Add NuGet package
|
|
```
|
|
dotnet add package SQLitePCLRaw.bundle_e_sqlite3
|
|
```
|
|
|
|
2. Modify .csproj and add the following:
|
|
```xml
|
|
<PropertyGroup>
|
|
<WasmBuildNative>true</WasmBuildNative>
|
|
</PropertyGroup>
|
|
```
|
|
|
|
3. Make sure the "wasm-tools" workload is installed on the local machine in order to build the project:
|
|
```
|
|
dotnet workload install wasm-tools
|
|
```
|