Skip to content

📚 Tauri Tutorial (系列教程 - 打造属于自己的跨端应用)

License

Notifications You must be signed in to change notification settings

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