Skip to content

n8jadams/tauri-typescript-react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tauri Typescript React Boilerplate

A Tauri Typescript React Boilerplate that works out of the box.

  • MacOS
  • Windows 10
  • Linux

Setup

Follow the Tauri setup docs in your platform to get everything set up for Tauri development, then run

$ yarn

Note for MacOS users

I had to do the following to get node-gyp to work...

  • Use homebrew to install vips, cmake and poppler:
$ brew install vips cmake && brew link --overwrite poppler

Note for Windows users

I had to run rustup default stable to change the default rust toolchain from gnu to msvc.

Development

$ 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)

Build

$ yarn build

Tauri will walk you through the rest.

Contributing

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.