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

<script> tag inside VueApp causes crash #8292

Closed
nickcartery opened this issue May 12, 2023 · 0 comments
Closed

<script> tag inside VueApp causes crash #8292

nickcartery opened this issue May 12, 2023 · 0 comments

Comments

@nickcartery
Copy link

nickcartery commented May 12, 2023

Vue version

3.3.1

Link to minimal reproduction

https://playcode.io/1470759

Steps to reproduce

We're building a hybrid app, the template is rendered dynamically by Backend (Prevent LayoutShift issue in Lighthouse), so sometimes, we still need <script> tag or <style> tag inside the template. Because we wanna load resources that we need, like MegaMenu, we only load resources when user clicks on Menu Item. We've used httpVueLoader to register SFC at runtime dynamically. We only wanna load the needed resource, do not load all resources when the page loads

What is expected?

Should not crash the VueApp like the 3.2.xx version

What is actually happening?

Vue 3.3.1 is crashed when using <script> tag inside VueApp.

System Info

No response

Any additional comments?

No response

@github-actions github-actions bot locked and limited conversation to collaborators Sep 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant