chore(websocket): Convert websocket example to vanilla ts (#805)

* chore(websocket): Convert ws example to vanilla-ts

* fix gitignore
This commit is contained in:
Fabian-Lars
2023-12-07 15:03:37 +01:00
committed by GitHub
parent 8d00fc08f0
commit eef088dde4
42 changed files with 352 additions and 824 deletions
@@ -0,0 +1,20 @@
[package]
name = "app"
version = "0.1.0"
description = "A Tauri App"
edition = "2021"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tauri = { version = "1", features = [] }
tokio = { version = "1", features = ["net"] }
futures-util = "0.3"
tauri-plugin-websocket = { path = "../../../" }
tokio-tungstenite = "0.21"
[build-dependencies]
tauri-build = { version = "1", features = [] }
[features]
custom-protocol = [ "tauri/custom-protocol" ]