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

Ditch logging viewer URL in favour of devtools #798

Open
harlan-zw opened this issue Feb 1, 2024 · 1 comment
Open

Ditch logging viewer URL in favour of devtools #798

harlan-zw opened this issue Feb 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@harlan-zw
Copy link
Contributor

harlan-zw commented Feb 1, 2024

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

When users are using DevTools the expected workflow for viewing tailwind debug should be via the DevTools tab, not a separate link.

image

I'd also like to see the "Using default Tailwind CSS file" removed but may need some discussion.

image

Describe the solution you'd like

For the log line to be disabled if DevTools is enabled.

Describe alternatives you've considered

Additional context

@harlan-zw harlan-zw added the enhancement New feature or request label Feb 1, 2024
@ineshbose
Copy link
Collaborator

I like this. The path still remains exposed despite not console logging it, correct? because devtools uses iframe for it. However, nuxt2 won't be able to take advantage of this, so the link still needs to be logged there. I'll make this part of v7 (#790). Meanwhile if you want to disable logging, you can use quiet: true for module config.

@ineshbose ineshbose changed the title Disable Tailwind Viewer URL In Development When DevTools Is Enabled Ditch logging viewer URL in favour of devtools Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants