join2nk / tauri-react-template

Tauri, React, Vite and Typescript template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-tauri-vite-template

Simple template to get started with react vite and tauri, note that it has typescript support also, It enables the vite-plugin-tauri, to avoid ghost terminal issue.

why ?

Because it's fun.

Requirements:

here

Instructions

1- install dependencies

#npm
npm install

#yarn
yarn

2- Run the App in development mode:

#npm
npm run tauri:dev

#yarn
yarn tauri:dev

note that the first run will take time as tauri download and compile dependencies.

Production

when you are happy with the results and ready to ship your useless app.

run:

#npm
npm run tauri:build

#yarn
yarn tauri:build

Note:

tested on:

  • windows 10

About

Tauri, React, Vite and Typescript template.


Languages

Language:TypeScript 45.7%Language:CSS 29.6%Language:Rust 13.6%Language:HTML 11.1%