-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update example to use vite and typescript
chore: update deps
- Loading branch information
Showing
12 changed files
with
702 additions
and
159 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<html> | ||
<body> | ||
<div> | ||
<h1>tauri-awesome-rpc</h1> | ||
|
||
<h5>invoke test</h5> | ||
<div id="response"></div> | ||
|
||
<h5>AwesomeEvent.listen test</h5> | ||
<div id="time_elapsed"></div> | ||
</div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
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,18 +1,22 @@ | ||
{ | ||
"name": "app", | ||
"version": "1.0.0", | ||
"type": "module", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"dev": "cross-env RUST_DEBUG=1 NODE_TLS_REJECT_UNAUTHORIZED=0 tauri dev" | ||
"dev": "vite", | ||
"tauri": "tauri", | ||
"build": "vite build" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@tauri-apps/cli": "^1.0.0-beta.10" | ||
"@tauri-apps/api": "^1.5.3", | ||
"@tauri-apps/cli": "^1.5.9" | ||
}, | ||
"devDependencies": { | ||
"cross-env": "^7.0.3" | ||
"@types/node": "^20.10.6", | ||
"vite": "^5.0.11" | ||
} | ||
} |
Oops, something went wrong.