| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Bootstrap and package your project with Angular 21 (Typescript + SASS + Hot Reload) and Tauri (Rust) for creating Desktop applications.
Currently runs with:
With this sample, you can:
/!\ Angular CLI needs Node 22 or later to work correctly.
Clone this repository locally:
git clone https://github.com/maximegris/angular-tauri.gitInstall Tauri (Rust)
https://v2.tauri.app/start/prerequisites
Install dependencies with npm:
npm installIf 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/cliOlder @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@^21Voila! 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.
| Folder | Description |
|---|---|
| src-tauri | Tauri main process folder (Rust) |
| src | Tauri renderer process folder (Web / Angular) |
Maybe you only want to execute the application in the browser with hot reload? Just run npm run web:serve.
| 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.
| Back | FazBrowse Home | New Git URL |