A template for Wails beta.13 with Angular 12. (TypeScript + SASS + Hot Reload)
Current Versions:
npm i -g @angular/cli
Create a new Application with the Wails CLI and this template:
wails init -n projektname -t https://github.com/TAINCER/wails-angular-template
The easiest way is to use the Wails CLI: wails dev
This should hot refresh when making changes the Frontend and rebuild when making changes in the Go.
When building for Production, there are some parts to notice:
frontend/src/environments/environment.prod.ts
when building the frontend.build/
and build/windows
(when building for Windows)Finally, you can build you Application with: wails build
In order to add Angular Material you can use the build in Angular CLI command:
cd frontend
ng add @angular/material
This will prompt you what theme you want to use, etc.