0👍
✅
Solved
I figured it out, but not sure as to why this is happening. It has to do with the vue directive. “v-if” causes the error, but “v-show” does not and allows it to work perfectly. If anyone can answer as to why this is happening, I will accept the answer.
0👍
Source:stackexchange.com