Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)