Open Baroshem opened 1 year ago
I would especially love to get the feedback from @vejja @dargmuesli @pi0 @danielroe @huang-julien
Wouldn't that be something for a devtools tab? 🤩
I was thinking the same ! @dargmuesli
Do you have any ideas how this could work?
I had already used devtools/kit once. Basically you're just providing an iframe which will get a lot of devtools helpers injected. So it's really flexible
But I wonder what would be the use case for it. In terms for headers, users can see the values in the browser network tab. While for the middlewares it might be difficult to show some meaningful data because everything can be seen in the nuxt.config.
I am just not sure what value it could bring to the user.
Devtools tab would a be a nice idea i would say. Adding more complexity to CLI output might be nice but it also makes peole care less about information when it matters (like warns)
The idea would be to have a similiar log added to running your application in fev if it has NuxtSecurity enabled as it is in NuxtTailwind.
The one in tailwind outputs an url where the tailwindviewer is so that it id simple for users running the app in dev with the module to access the viewer.
I have been thinking about something similar for NuxtSecurity.
My ideas:
Let me know what you think about it :)