-
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.
- Loading branch information
Showing
23 changed files
with
159 additions
and
851 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,8 +1,3 @@ | ||
{ | ||
"recommendations": [ | ||
"svelte.svelte-vscode", | ||
"tauri-apps.tauri-vscode", | ||
"rust-lang.rust-analyzer", | ||
"1yib.rust-bundle" | ||
] | ||
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] | ||
} |
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,30 +1,7 @@ | ||
# Tauri + Svelte + Typescript + C# | ||
# Tauri + Vanilla TS | ||
|
||
This template should help get you started developing with Tauri, Svelte and TypeScript in Vite. | ||
This template should help get you started developing with Tauri in vanilla HTML, CSS and Typescript. | ||
|
||
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 }) | ||
} | ||
``` | ||
## Recommended IDE Setup | ||
|
||
- [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) |
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
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
Oops, something went wrong.