https://github.com/leoborai/snowpack-tauri-starter
Snowpack + Tauri Template for developing desktop application with ReactJS (TypeScript) and Rust
https://github.com/leoborai/snowpack-tauri-starter
desktop reacjs rust tauri typescript webview
Last synced: 2 months ago
JSON representation
Snowpack + Tauri Template for developing desktop application with ReactJS (TypeScript) and Rust
- Host: GitHub
- URL: https://github.com/leoborai/snowpack-tauri-starter
- Owner: LeoBorai
- Created: 2021-05-13T04:32:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-13T04:33:47.000Z (almost 4 years ago)
- Last Synced: 2025-02-28T20:59:00.645Z (2 months ago)
- Topics: desktop, reacjs, rust, tauri, typescript, webview
- Language: Rust
- Homepage:
- Size: 898 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
snowpack-tauri-starter
Snowpack + Tauri Template for developing desktop application with
ReactJS (TypeScript) and Rust
## Installation
> Make sure you read the [Tauri](https://tauri.studio/en/docs/getting-started/intro) getting started guide before proceeding to avoid any issues
> Rust and NodeJS should be installed in your system
Theres two main directories in this application, `src-tauri` and `src`.
All of the Front-End lives inside of the `src` directory, ReactJS and
TypeScript logic should live there.The `src-tauri` directory contains Rust code, used by Tauri to bootstrap
and run your Web View inside of a system window.Install dependencies using either Yarn or NPM. (This project makes use
of Yarn)```bash
yarn install
```The Snowpack setup included is not configured for any purposes, the configuration
provided could be considered "regular" as it comes with no extra dependencies
beyond TypeScript support.## Running
In order to run the application you must issue `yarn run dev:react` first and
then, in a separate terminal window run `yarn run dev:tauri`.> This approach will be improved in the future to make use of a single command.
## License
This is a template repository so no License is included, make sure you add your
license when using it for a real project