-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/RubenPX/TauriNET
- Loading branch information
Showing
1 changed file
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |