A Tauri Typescript React Boilerplate that works out of the box.
- MacOS
- Windows 10
- Linux
Follow the Tauri setup docs in your platform to get everything set up for Tauri development, then run
$ yarn
I had to do the following to get node-gyp
to work...
- Use homebrew to install
vips
,cmake
andpoppler
:
$ brew install vips cmake && brew link --overwrite poppler
I had to run rustup default stable
to change the default rust toolchain from gnu
to msvc
.
$ yarn dev
There's an example app that shows a little bit of how you can communicate between the front end (Typescript/JS) and back end (Rust)
$ yarn build
Tauri will walk you through the rest.
Feel free to create an issue or PR. Just understand I don't have a ton of time to contribute to this, so I may not be the fastest at responding.