Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukethacoder/tauri-react-example
🦀 Small Tauri React Example feat. Vite
https://github.com/lukethacoder/tauri-react-example
desktop-app postcss react rust tauri typescript vite vitejs
Last synced: about 23 hours ago
JSON representation
🦀 Small Tauri React Example feat. Vite
- Host: GitHub
- URL: https://github.com/lukethacoder/tauri-react-example
- Owner: lukethacoder
- Created: 2020-06-15T09:55:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T04:41:42.000Z (12 days ago)
- Last Synced: 2024-12-15T12:06:58.641Z (8 days ago)
- Topics: desktop-app, postcss, react, rust, tauri, typescript, vite, vitejs
- Language: Rust
- Homepage:
- Size: 3.69 MB
- Stars: 121
- Watchers: 3
- Forks: 3
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Tauri React Example (2023)
> recently updated with the latest versions of tauri (feat. drag n drop functionality)
![tauri-react-dnd.gif](./docs/tauri-react-dnd.gif)
![test-screenshot.jpg](./docs/test-screenshot.png)
Simple [React](https://create-react-app.dev/)([vite](https://vitejs.dev/)) starter running with [Tauri](https://tauri.studio/).
Should hopefully save some time trying to setup Tauri and React.
Includes `react-beautiful-dnd` with the `"fileDropEnabled": false` options set in `tauri.config.json`. This can be removed if you don't require it.
> Currently config'd to run on the [Cloudbridge](https://tauri.studio/docs/architecture/recipes/cloudbridge) pattern.
### Development
```
yarn tauri dev
```### Production Build
```
yarn tauri build
```## Debugging on Windows
Install [Microsoft Edge Devtools](https://www.microsoft.com/en-au/p/microsoft-edge-devtools-preview/9mzbfrmz0mnj?rtc=1&activetab=pivot:overviewtab). Make sure you have Edge Legacy installed.
more info [here](https://github.com/tauri-apps/tauri/wiki/04.-MS-Windows-Setup#devtools)