Failed to execute 'insertBefore' on 'Node' #51
eliottrobson
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The error is originating from this block in source:
petite-vue/src/directives/if.ts
Lines 49 to 55 in 63c60d3
My HTML that's triggering this is pretty simple
From my example matching the code to the source:
A workaround is to place the
v-if
on a wrapper element from theI
. I believe that Font Awesome is changing the html internally but Vue isn't aware. A better error might help others in future, but posting this to help everyone out in case you get a similar issue.Beta Was this translation helpful? Give feedback.
All reactions