Subscribe on changes!

[Vue warn]: Failed to resolve component: strike

avatar
Sep 13th 2023

Vue version

3.3.4

Link to minimal reproduction

https://play.vuejs.org/#eNqNUUtPGzEQ/iuuL2kldq2KnqIQ0VZILQdAgMTFl7A7SQzrh8azIdJq/ztjL4QlPMTNM994vsd08ncI5aYFOZWzWKEJJCJQG+baGRs8kugEwlL0YoneigmPTrTTrvIukrBxJY4S/n3yD5rGixuPTf1t8kO7mRrW8SIuCGxoFgRcCTFb/5x3Xf7c9zPFVe4aF1oSm8L6GpojLRnXcoAiobmH+Tpx8OKhShy7vfJADnoLuwjlXfSOHXXps34CopZTkTupxz5SreWaKMSpUlXt+Bszmw2WDki5YNUxjylsHRkLRe3t8WF5WP5StYk0bpcQbXGL/iEC8hItD0Y0ipsbwALB1YCAX6Xd+zam3oPe0Cf2XrueQ6HIl1qa1V4klbfBNIDngQxf8lU0Cw754TT3CFvYeanWUN2/07+L28HTBUJWNvJPC1wBDfDJ1Rls+b0D+dBt83SGD8BLiL5pk8Zh7E/rapY9mstq/+cLG7e6jidbAhefTSWhOY08n+/x9xPrL3I57V2K/SN7DA/N

Steps to reproduce

Open the playground link and see the warning.

What is expected?

No warning using <strike>. Vue should recognize it as a native tag.

What is actually happening?

Warning using <strike> as Vue does not recognize it as a native tag.

System Info

SFC Playground

Any additional comments?

  • Markdown use ~~strike~~/strike officially and that translated to <strike>
  • Previously reported #6841.
avatar
Sep 14th 2023

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike

This element is deprecated in HTML 4 and XHTML 1, and obsoleted in the HTML Living Standard. If semantically appropriate, i.e., if it represents deleted content, use instead. In all other cases use .