Ignore <script> nodes #207
antman3351
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a use case for vue to walk <script> ( and <style> ) nodes ?
Sometimes I have bits of HTML/JS that are included in the middle of the HTML Vue is "handling". This was causing an error because Vue was trying to replace parts of the JS as a template, which took me a while to workout what was going on and quickly fixed adding v-pre to the script tag.
Anyway shouldn't script ( and probably style ) tags be automatically skipped ?
Beta Was this translation helpful? Give feedback.
All reactions