Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wails runtime object exists only on "/" path url #2741

Closed
ramory-l opened this issue Jun 22, 2023 · 2 comments
Closed

Wails runtime object exists only on "/" path url #2741

ramory-l opened this issue Jun 22, 2023 · 2 comments
Labels
Bug Something isn't working

Comments

@ramory-l
Copy link

ramory-l commented Jun 22, 2023

Description

Wails runtime object exists only on "/" url

To Reproduce

Trying to use console.log('runtime', (window as any).runtime) on a different router path will show undefined.

Expected behaviour

Expected that runtime object exists on every page

Screenshots

No response

Attempted Fixes

No response

System Details

Mac Os Ventura 13.4 M1 Max

Additional context

I'm using Vue3 with Vue Router
No response

@ramory-l ramory-l added the Bug Something isn't working label Jun 22, 2023
@stffabi
Copy link
Collaborator

stffabi commented Jun 29, 2023

Thanks for reporting this and using Wails.

We already have a tracking issue for this #2047 and #2262. So I'm going to close this in favour of those two issues. Please feel free to participate in the discussions over there.

@stffabi
Copy link
Collaborator

stffabi commented Jun 29, 2023

Duplicate of #2047

@stffabi stffabi marked this as a duplicate of #2047 Jun 29, 2023
@stffabi stffabi closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants