-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
globalName - change __nuxt id as it was in NUXT2 #15132
Comments
Can you provide some then? I, personally, always felt it more as a burden than something useful... |
First of all - security reason. Nuxt3 is great for me! I will definitely talk about this technology in my portfolio and will do my best to make as many people as possible learn about it. Analysis of competitors. Often before development, an analysis of competitor solutions is carried out and we would not like to make it obvious to other developers what we use during the analysis. We don't mind talking about it in the portfolio, but we mind making it obvious. Having this feature is very important, I don’t want to switch back to Nuxt 2 having a wonderful Nuxt 3 because of such a trifle, but still the last word is not with me, but with the clients. |
This sounds like security through obscurity. You will always be able to find out if a site was built with Nuxt, simply by scanning the |
Related: #12238 |
Yes, but here you don’t even need to compare, you don’t need to write complex scripts, just press F12. Nuxt2 has the ability and everyone uses it for sure, but Nuxt3 does not, so if there is a __nuxt id in the code, then this is 100% nuxt3 framework. In Nuxt2, everyone uses it, the feature is very important to return it. Moreover, it has already been implemented. |
Of course, for your own projects, this is not very important when you can decide for yourself what is needed and what is not. But when there is a requirement to "hide obvious traces of the engine" and I understand why there is such a requirement, then I have to choose another technology. But I really 💚 Nuxt3, I hope my opinion (and many others) will be heard. |
Nuxt3 I will give it up if it doesn't have a globalName |
Okay, so the effort is basically pushing F12 vs. doing a string search for "Nuxt" in the
No, either Nuxt2 or Nuxt3 with quite a high chance.
I can say for certain that quite a number of projects, also "larger"/"enterprise" projects, do not use it. 👀
If the requirement is to hide obvious traces of the framework/tech, then you might not use any framework - or something that compiles down to "pure" JS. You can always detect frameworks, even the basic ones like Vue.js, with ease. Everything in the frontend is human readable eventually Anyway, I'm curious about more arguments except "don't make it too obvious we are using Nuxt"! |
I'm sure you won't mind seeing a big Nuxt3 project :) I really hope that this opportunity will be returned in the near future. |
Which?
What influence does that have on app development? |
This one -> Anyway," I'm curious about more arguments except "don't make it too obvious we are using Nuxt"!"
Flexibility. This creates some rules from which you must follow while writing styles. I don't understand why it was removed, it was a great opportunity that everyone used and now it will become a reason for refusal for many |
As shown above, it will not add meaningful protection or "disguise" in any way.
Could you elaborate on that? Nobody forces you to use
Making every variable that has |
We are not asking for every, we are asking for the most obvious (еspecially when it is only one), especially when Nuxt 2 has it) |
Should we wait for globalName to appear? |
I would be opposed to customising But as for customising the ID of the root |
Thanks a lot for your answer! Look forward to :) |
We aren't asking for Please give back the control and flexibility we had with Nuxt2 when it has to do with root level app and HTML structure. :: insert begging gif here :: |
Is it worth waiting for the ID change on release? |
As you can see, there is an open PR to implement this. |
Describe the feature
Please, return globalName param, its very important for customers and developers for a lot of reasons!
Thank you!
Additional information
Final checks
The text was updated successfully, but these errors were encountered: