I am new to vue.js and I have some questions, looking at their docs
https://v2.vuejs.org/v2/guide/#Getting-Started
var app = new Vue({
el: '#app',
data: {
message: 'Hello Vue!'
}
});
They define a vue instance by a string selector. Is there a way I can replace #app with a string of the whole template.
Secondly, if I have two vue instances vue_container and vue_item, is there a way I can set up the vue instances such that I can nest them, something like:
vue_container.append('list', vue_item);
Thanks
#appis just your entry point.componentsproperty in Vue instances and componentselproperty. This is the existing element in your plain-old HTML document that Vue binds the instance to, eg<div id="app"></div>