Vue.js:634 [Vue warn]: Cannot find element: #app7 [How to Solve]

wrong reason:

Handwritten vue.js should be introduced at the end

Because there must be a div with the id of vue-app before vue can get the corresponding element.


Modification method:

Place the imported vue.js file and handwritten js file at the end of the body area

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *