wails
wails copied to clipboard
Examples from docs are all broken
Description
The UI's for all of the examples in the following project that is referenced in the docs are broken. All I see is a flickering UI, and a lot of the following warnings in the console. I do not have the same issue in the project I created myself.
DEB | [AssetHandler] File 'src/style.css' not found, serving '/src/style.css' by AssetHandler
Docs link: https://wails.io/docs/tutorials/dogsapi/ Examples Link: https://github.com/tataDan/wails-v2-examples/tree/main
To Reproduce
- Download https://github.com/tataDan/wails-v2-examples/tree/main/examples/dogs-api
- Run
wails dev
- Wait for the app to load and see the flickering, broken UI.
Expected behaviour
The UI should be usable.
Screenshots
No response
Attempted Fixes
No response
System Details
umurpza@V0Q4MD6 simple-grep % wails doctor
Wails Doctor
# Wails
Version | v2.9.1
# System
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS | MacOS |
| Version | 14.6.1 |
| ID | 23G93 |
| Go Version | go1.22.4 |
| Platform | darwin |
| Architecture | amd64 |
| CPU | Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz |
| GPU | Chipset Model: Intel UHD Graphics 630 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB Vendor: Intel Device ID: 0x3e9b Revision ID: 0x0002 Automatic Graphics Switching: Supported gMux Version: 5.0.0 Metal Support: Metal 3 |
| Memory | 32GB |
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌────────────────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| Xcode command line tools | N/A | Installed | 2408 |
| Nodejs | N/A | Installed | 20.12.2 |
| npm | N/A | Installed | 10.8.1 |
| *Xcode | N/A | Available | |
| *upx | N/A | Available | |
| *nsis | N/A | Available | |
└─────────────────── * - Optional Dependency ────────────────────┘
# Diagnosis
Optional package(s) installation details:
- Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
- upx : Available at https://upx.github.io/
- nsis : More info at https://wails.io/docs/guides/windows-installer/
SUCCESS Your system is ready for Wails development!
♥ If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
umurpza@V0Q4MD6 simple-grep %
Additional context
No response