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

Integration with Nuxt DevTools #295

Open
Baroshem opened this issue Nov 16, 2023 · 8 comments
Open

Integration with Nuxt DevTools #295

Baroshem opened this issue Nov 16, 2023 · 8 comments
Labels
enhancement New feature or request
Milestone

Comments

@Baroshem
Copy link
Collaborator

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:

  1. Full NuxtSecurity Config
  2. Enabled headers and middleware's (names) per route ang global

Let me know what you think about it :)

@Baroshem Baroshem added the enhancement New feature or request label Nov 16, 2023
@Baroshem
Copy link
Collaborator Author

Baroshem commented Nov 16, 2023

I would especially love to get the feedback from @vejja @dargmuesli @pi0 @danielroe @huang-julien

@dargmuesli
Copy link
Contributor

Wouldn't that be something for a devtools tab? 🤩

@huang-julien
Copy link
Contributor

huang-julien commented Nov 16, 2023

I was thinking the same ! @dargmuesli

@Baroshem
Copy link
Collaborator Author

image

@Baroshem
Copy link
Collaborator Author

Do you have any ideas how this could work?

@huang-julien
Copy link
Contributor

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

@Baroshem Baroshem added this to the 1.1.0 milestone Nov 17, 2023
@Baroshem
Copy link
Collaborator Author

Baroshem commented Dec 5, 2023

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.

@pi0
Copy link
Contributor

pi0 commented Dec 5, 2023

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)

@Baroshem Baroshem removed this from the 1.1.0 milestone Jan 19, 2024
@Baroshem Baroshem changed the title Add a log similiar to Tailwind Viewer but with Security info Integration with Nuxt DevTools Feb 22, 2024
@Baroshem Baroshem added this to the 1.3.0 milestone Feb 22, 2024
@Baroshem Baroshem modified the milestones: 1.3.0, 2.0.0 May 6, 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

4 participants