Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/RubenPX/TauriNET
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenPX committed Mar 7, 2024
2 parents f0b1b90 + 931c564 commit 9b78939
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions README.md
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)

0 comments on commit 9b78939

Please sign in to comment.