-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
docs(installation): add ES Module setup #20661
base: master
Are you sure you want to change the base?
Conversation
I would not really advise users to use it without integrity hashes. And even if integrity was supported on all browsers and we would refine PR with |
the big advantage apart from strict-typing is that a ES Module issolatates its content so it is even possible to have more than one (mini) Vue app on a page. |
This sounds like a very niche use case though. Anyway, assuming we include this section, I wonder if it would be more beneficial to have a full working example (e.g. [1] or [2]) as well as some links to MDN, SHA generator, etc. BTW. While working on these examples I noticed that CDN suggested URLs with |
Valid points. But they would also apply to other sections ("Using CDN"). |
feels like these instructions are pretty much 1:1 with the regular cdn install instructions, just with how to use an script/link tag sprinkled in, and an esm import instead of .min/js|.css. Would probably refine this to just include both (update the section above to have the links for the css/js and esm versions, and add a note about it instead of making it its own section |
@MajesticPotatoe , Including |
The whole page is like that really, all it needs to say is
but apparently people need a copy-paste guide for every little thing these days. |
Description
Without tooling include Vuetify and Vue using import map
Markup:
none