el: ‘#app’ and .$mount('#app')
Learn different ways to mount a Vue.js instance.
We'll cover the following...
We'll cover the following...
There are multiple syntaxes to mount a Vue instance. They might be different in syntax but perform everything in a similar fashion. In this lesson, the two most common ways to mount the Vue instance are discussed:
- el: '#app'as a property in the- Vueinstance
- Calling $mount('#app')on theVueinstance
 ...