Skip to content

lencx/tauri-tutorial

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 3, 2022 12:32
May 12, 2022 13:40
September 18, 2022 09:56
July 19, 2022 22:10
October 14, 2022 16:36
October 15, 2022 16:03
src
October 3, 2022 18:39
October 1, 2022 22:57
May 12, 2022 13:38
May 12, 2022 08:21
November 18, 2022 13:53
October 3, 2022 17:01
July 14, 2022 23:30
November 18, 2022 13:53
May 16, 2022 03:21
May 12, 2022 08:21
May 14, 2022 22:39
October 1, 2022 22:41
November 18, 2022 13:53

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