ProductPromotion
Logo

Angular.JS

made by https://0x3d.site

GitHub - maximegris/angular-tauri: Ultra-fast bootstrapping with Angular and Tauri :speedboat:
Ultra-fast bootstrapping with Angular and Tauri :speedboat: - maximegris/angular-tauri
Visit Site

GitHub - maximegris/angular-tauri: Ultra-fast bootstrapping with Angular and Tauri :speedboat:

GitHub - maximegris/angular-tauri: Ultra-fast bootstrapping with Angular and Tauri :speedboat:

Angular Logo

Maintained Make a pull request License

Build

Watch on GitHub Star on GitHub Tweet

Introduction

Bootstrap and package your project with Angular 16 (Typescript + SASS + Hot Reload) and Tauri (Rust) for creating Desktop applications.

Currently runs with:

  • Angular v16.2.12
  • Tauri 1.5.3

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 16 or later to work correctly.

Getting Started

Clone this repository locally:

git clone https://github.com/maximegris/angular-tauri.git

Install Tauri (Rust)

https://tauri.studio/docs/getting-started/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 15. To update to angular version 16 specifically for the global cli run:

npm install -g @angular/cli@^16

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

More Resources
to explore the angular.

mail [email protected] to add your project or resources here 🔥.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory