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.
Because it's fun.
1- install dependencies
#npm
npm install
#yarn
yarn
2- Run the App in development mode:
#npm
npm run dev
#yarn
yarn dev
note that the first run will take time as tauri download and compile dependencies.
when you are happy with the results and ready to ship your useless app.
run:
#npm
npm run build
#yarn
yarn build
tested on:
- windows 10