wails
wails copied to clipboard
Why isn't my binding method taking effect?
Description
In Vue, console.log isn't printing any information.
To Reproduce
Expected behaviour
Screenshots
No response
Attempted Fixes
No response
System Details
# Wails
Version | v2.7.1
# System
┌─────────────────────────┐
| OS | MacOS |
| Version | 14.1.2 |
| ID | 23B92 |
| Go Version | go1.21.3 |
| Platform | darwin |
| Architecture | arm64 |
| CPU | Unknown |
| GPU | Unknown |
| Memory | Unknown |
└─────────────────────────┘
# Dependencies
┌────────────────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| Xcode command line tools | N/A | Installed | 2403 |
| Nodejs | N/A | Installed | 16.10.0 |
| npm | N/A | Installed | 7.24.0 |
| *Xcode | N/A | Available | |
| *upx | N/A | Available | |
| *nsis | N/A | Available | |
└─────────────────── * - Optional Dependency ────────────────────┘
Additional context
No response
Did you bind App?
Yes, I've bound the app in the main method. Interestingly, when I use fmt to print in the Go method, I get the expected content. However, when I call this binding method in Vue and print its return value, it turns out to be empty.
My guess is something related to Vue in this instance
Can you link to a reproducible replica please.