Skip to content

lencx/tauri-tutorial

Repository files navigation

Tauri Tutorial

APP

  • WA+ - Making a web page more like a desktop application is just the beginning, the possibilities are unlimited, up to your imagination!

Pre-installed

Install wasm-pack

cargo install wasm-pack

# With Windows
cargo install wasm-pack --version 0.9.1

Install rsw

cargo install rsw

Note: If your operating system is Windows, it is recommended to install wasm-pack v0.9.1

Quick start

Note: Open two terminal windows, execute yarn rsw watch in the first and yarn tauri dev in the second. The order of execution is important, do not close the first window!

# 1. Do not exit the process after the command has started.
yarn rsw watch

# 2. Front-end: start dev server
yarn tauri dev

开发教程

关注 《浮之静》公众号,回复 tauri 进技术交流群

虽然 Tauri 已经发布 v1.0 版本,但是国内资料少的可怜,我想基于 Tauri 开发一款工具集(各种小功能)。并通过写文章的形式来记录开发过程中遇到的各种问题。如果这些文章对你有所帮助,可以 star 此项目或者将文章转发给更多有需要的人。大家的支持会给我更大的写作动力,感恩 🙏。如果你有开源的项目参考了此教程,可以 PR 到此 README.md 下的 APP,让更多的人看到。

赞助

☕️ 请我喝杯咖啡

微信交流群

如群二维码过期,可关注公众号《浮之静》,发送“进群”,和小伙伴一起学习交流。

Tauri 交流群 浮之静

License

GPL-3.0 license © 2022 lencx