nuxt-modules / tailwindcss

Tailwind CSS module for Nuxt

Home Page:https://tailwindcss.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ditch logging viewer URL in favour of devtools

harlan-zw opened this issue · comments

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

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.