Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Alfredoes234/tauri-preact-rsbuild-template
https://github.com/Alfredoes234/tauri-preact-rsbuild-template
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Alfredoes234/tauri-preact-rsbuild-template
- Owner: Alfredoes234
- License: unlicense
- Created: 2024-01-14T16:44:08.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T17:31:08.000Z (4 months ago)
- Last Synced: 2024-07-31T11:36:47.952Z (3 months ago)
- Language: TypeScript
- Size: 227 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tauri - tauri-preact-rsbuild-template - Preact template that uses rsbuild, rather than vite. (Getting Started / Templates)
README
# Tauri + Preact + Typescript
This template should help get you started developing with Tauri, Preact and Typescript in Rsbuild. Rsbuild is a bit faster than vite so might be worth it for larger applications or places you want to get the most performance.
## Setup
First you need to clone the repo
```bash
git clone https://github.com/Alfredoes234/tauri-preact-rsbuild-template.git
```
Then you can use your respective package manager
```bash
npm install
```
Then run the application
```bash
npm tauri dev
```
This will launch the desktop app and can be used in browser for easier use by removing tauri and using run instead### Recommended IDE Setup
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)