0đź‘Ť
Per Eli Chen’s comment, this is the answer. I had the script running above the HTML:
are you sure you calling new Vue(…) after the html part. looks like the $el is not the right element. also check if you have another div with id of “app” – eli chen 1 hour ago
- [Vuejs]-How to remove value from an element according to a condition in VueJS
- [Vuejs]-How to force vue to wait for async <script> to run before mounting components
Source:stackexchange.com