belnadris/angular-tauri
소개
Ultra-fast bootstrapping with Angular and Tauri :speedboat:
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalIntroduction
Bootstrap and package your project with Angular 22 (Typescript + SASS + Hot Reload) and Tauri (Rust) for creating Desktop applications.
Currently runs with:
- Angular v22.2.4
- Tauri 2.12.5
With this sample, you can:
- Run your app in a local development environment with Tauri & Hot reload
- Run your app in a production environment
- Package your app into an executable file for Linux, Windows & Mac
/!\ Angular CLI needs Node 22.22, 24.15 or 26 (recommended) or later to work correctly.
Getting Started
Clone this repository locally:
git clone https://github.com/maximegris/angular-tauri.git
Install Tauri (Rust)
https://v2.tauri.app/start/prerequisites
Install dependencies with npm:
npm install
If you want to generate Angular components with Angular-cli , you MUST install @angular/cli in npm global context.
Please follow Angular-cli documentation if you had installed a previous version of angular-cli.
npm install -g @angular/cli
Older @angular/cli references may grab angular version 18. To update to angular version 21 specifically for the global cli run:
npm install -g @angular/cli@^21
To build for development
- in a terminal window -> npm start
Voila! You can use your Angular + Tauri app in a local development environment with hot reload!
The application code is managed by src-tauri/main.rs. \
In this sample, the app runs with a simple Angular App (http://localhost:4200), and a webView managed by Tauri.
Project structure
| Folder | Description |
|---|---|
| src-tauri | Tauri main process folder (Rust) |
| src | Tauri renderer process folder (Web / Angular) |
Browser mode
Maybe you only want to execute the application in the browser with hot reload? Just run npm run web:serve.
Included Commands
| Command | Description |
|---|---|
npm run web:serve |
Execute the app in the web browser (DEV mode) |
npm run web:prod |
Build the app that can be used directly in the web browser. Your built files are in the /dist folder. |
npm run tauri:bundle |
Builds your application and creates an app consumable based on your operating system |
Your application is optimised. Only /dist folder is included in the final bundle.
Branch & Packages version
관련 프로젝트 살펴보기
불러오는 중…