-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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: add warning about dynamic import of css #21805
Conversation
The warning is regarding the use of dynamic imports inside of the script tag, it's related to nuxt#21803
β Live Preview ready!
|
Hello, Is this seems better?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @MuhammadM1998, adding an example of synchronous import is less confusing. Could you add it?
@Hebilicious can you review? |
Maybe add this as a comment to the existing example of synchronous import above on L21? |
Using comments to showcase both examples and warning against the use of dynamic imports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you - perfect!
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
The warning is regarding the use of dynamic imports inside of the script tag, it's related to #21803
π Linked issue
β Type of change
π Description
π Checklist