educative.io

El: ‘#app’ and .$mount('#app') - Hands-on Vue.js: Build a fully functional SPA

I think, the answer for the 4th quiz question is not correct. As far as I understood, the mounting of the Vue instance can only be deferred by using $mount(’#id’) method.

Can someone please help me out?

1 Like

Hi @Sagar_Nigam!

The answer to the 4th quiz question is correct. The mounting of the Vue instance can also be deferred by using “el: ‘#app’” method, but it’s not a popular method. Using $mount(’#id’) is a preferred method. You can refer to this for further explanation.