We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When opening the tab on an app that uses a baseURL, the devtools <iframe> loads the incorrect URL
<iframe>
The DEVTOOLS_UI_PATH is set to '/__nuxt-devtools-fonts' but should support '/prefix/__nuxt-devtools-fonts' when a baseURL is defined
DEVTOOLS_UI_PATH
'/__nuxt-devtools-fonts'
'/prefix/__nuxt-devtools-fonts'
To reproduce Set up your nuxt config with
app: { baseURL: '/prefix/', },
You will see the <iframe src> is lacking the baseURL. This is most noticeable when your app is served via a proxy
<iframe src>
Additional context I have seen other libraries join nuxt.options.app.baseURL to fix
nuxt.options.app.baseURL
addCustomTab({ view: { type: 'iframe', src: joinURL(nuxt.options.app?.baseURL, '/__nuxt-devtools-fonts'),
I will try to submit a PR with a fix but wanted to open this issue first
The text was updated successfully, but these errors were encountered:
thank you - that would be a great fix if you have time to open it 🙏
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When opening the tab on an app that uses a baseURL, the devtools
<iframe>
loads the incorrect URLThe
DEVTOOLS_UI_PATH
is set to'/__nuxt-devtools-fonts'
but should support'/prefix/__nuxt-devtools-fonts'
when a baseURL is definedTo reproduce
Set up your nuxt config with
You will see the
<iframe src>
is lacking the baseURL. This is most noticeable when your app is served via a proxyAdditional context
I have seen other libraries join
nuxt.options.app.baseURL
to fixI will try to submit a PR with a fix but wanted to open this issue first
The text was updated successfully, but these errors were encountered: