wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
24.76k stars 1.18k forks source link

Is there any convenient way to package the frontend for browser access? #3075

Open geekroscom opened 10 months ago

geekroscom commented 10 months ago

Is your feature request related to a problem? Please describe.

I hope that the packaged frontend resources can be used directly in the browser. Currently, accessing it with the browser results in an error.

Describe the solution you'd like

null

Describe alternatives you've considered

Redevelop?

Additional context

start.vue:69 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'EventsOn')
    at setup (start.vue:69:33)
    at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
    at setupStatefulComponent (runtime-core.esm-bundler.js:7236:25)
    at setupComponent (runtime-core.esm-bundler.js:7197:36)
    at mountComponent (runtime-core.esm-bundler.js:5599:7)
    at processComponent (runtime-core.esm-bundler.js:5565:9)
    at patch (runtime-core.esm-bundler.js:5040:11)
    at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5773:9)
    at ReactiveEffect.run (reactivity.esm-bundler.js:178:19)
    at instance.update (runtime-core.esm-bundler.js:5814:51)
geekroscom commented 10 months ago

Or is there any way to access http://wails.localhost/ in the browser?

dtapps commented 10 months ago

me too