Загрузка...

Tauri & ReactJS Part 6 - fs API & Invoking Rust from Frontend!

Happy (early) Canada day.
Here is the tutorial you guys have been asking for since my first Tauri tutorial.
https://github.com/elibroftw/modern-desktop-app-template (relevant: ExampleView.jsx, main.rs, SAMPLE_README.md)

Quick correction: the println does show up but it gets buried by hmr (Vite).

For donations, I accept Monero or Music Caster translations (work for work)
monero:84PR6SkYd5zaFLKDjAFrQfbaAg2c7SV3q3XDZ15QCpEZUggrN4YzY7n8m9XC3deXjo41yWHTm1LrsUpPTYGnRQbD9Cwp8En

00:00 Introduction
00:50 Modifying tauri.conf.json for fs
02:17 using the fs API
04:15 using path and shell APIs
04:39 fs demo
05:40 What about arbitrary files?
05:50 Rust command
08:00 Rust command invocation
10:10 Rust command return data
14:24 Conclusion

Видео Tauri & ReactJS Part 6 - fs API & Invoking Rust from Frontend! канала elibro
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять