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

Multiple pages when clicking on "Go back home" button #505

Closed
wJoenn opened this issue Nov 3, 2023 · 1 comment
Closed

Multiple pages when clicking on "Go back home" button #505

wJoenn opened this issue Nov 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wJoenn
Copy link

wJoenn commented Nov 3, 2023

🐛 The bug

There's a bug with @nuxtjs/tailwindcss that'll make the tailwind's viewer not work when accessing it from the devtool.
Once faced with the 404 we have a button to go back home which I assume should take me back to the devtool's home page.
It does indeed but while doing so it also open a nested devtool page and repeats this behaviour everytime the same button is clicked
image

🛠️ To reproduce

https://stackblitz.com/edit/nuxt-starter-jwoekj?file=nuxt.config.ts

🌈 Expected behavior

I suppose it should just take me back to the homepage without opening an actual page.
Best behaviour would be to actually have access to Tailwind's viewer but I suppoe that an issue with @nuxtjs/tailwindcss

ℹ️ Additional context

No response

@wJoenn wJoenn added the bug Something isn't working label Nov 3, 2023
@antfu
Copy link
Member

antfu commented Nov 11, 2023

I am not sure if there is anything that can be done on the DevTools side. As we give an iframe to the custom tab, and how it renders is up to the module to control. I think it should be fixed on the tailwind module

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