0👍
✅
The el
property is used to specify the element currently in the DOM to mount the Vue instance to.
You can’t specify that element within the Vue instance’s template because it needs to mount somewhere on the DOM before it can render.
You need to add an element with id #app
to your html outside of your Vue instance and remove the id="app"
from the div in its template.
Source:stackexchange.com