diff --git a/README.md b/README.md index b381dcf..440aa69 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,30 @@ -# Tauri + Vanilla TS +# Tauri + Svelte + Typescript + C# -This template should help get you started developing with Tauri in vanilla HTML, CSS and Typescript. +This template should help get you started developing with Tauri, Svelte and TypeScript in Vite. -## Recommended IDE Setup +This dll can talk with NetHostFX apps + +## TODOS + +- [X] Invoke from Tauri to NetHostFX +- [ ] Allow Tauri pass to C# String parameters +- [ ] Allow to send & parse JSON Data betwen processes + +## Extra + +You can replace frontend as you want + +To invoke NetHost code, you need install tauri API and run this code + +```javascript +import { invoke } from "@tauri-apps/api/tauri" + +let name = ""; +let greetMsg = "" + +async function greet(){ + // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command + greetMsg = await invoke("greet", { name }) +} +``` -- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)