https://github.com/emarifer/todoapp-tauri-yew
Desktop Task list application developed with Tauri and Yew.
https://github.com/emarifer/todoapp-tauri-yew
js-sys rust tailwindcss tauri tauri-app wasm wasm-bindgen web-sys webassembly yew yew-framework
Last synced: about 2 months ago
JSON representation
Desktop Task list application developed with Tauri and Yew.
- Host: GitHub
- URL: https://github.com/emarifer/todoapp-tauri-yew
- Owner: emarifer
- License: mit
- Created: 2023-02-15T16:41:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T16:42:44.000Z (over 3 years ago)
- Last Synced: 2025-01-17T05:26:24.088Z (over 1 year ago)
- Topics: js-sys, rust, tailwindcss, tauri, tauri-app, wasm, wasm-bindgen, web-sys, webassembly, yew, yew-framework
- Language: Rust
- Homepage:
- Size: 454 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Todoapp Tauri + Yew.
Desktop Task list application developed with Tauri and Yew.
---
## 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).
---
### Screenshot:

---
#### As prerequisites, in addition to the Rust language and some OS-dependent libraries required for Tauri, you must also install the build target for browser-based WebAssembly called "wasm32-unknown-unknown" and the "Trunk" tool to the deployment and packaging of the Yew frontend:
```
rustup target add wasm32-unknown-unknown && cargo install --locked trunk
```
#### On the other hand, if we want to start from scratch, to create the scaffolding of the Tauri + Yew application it is necessary to install the Tauri app creation tool for the Cargo package manager and the Tauri CLI:
```
cargo install create-tauri-app && cargo install tauri-cli
```
#### Finally, since we use the Tailwind CSS framework, we will have to run in the root of the project:
```
npm i
```
#### With all this accomplished, run the app under development with the command:
```
cargo tauri dev
```
#### or build it with the command:
```
cargo tauri build
```
#### For more information see the documentation of [Tauri](https://tauri.app/) and [Yew](https://yew.rs/).