- Beginner, take the environment, ES6 also come, vuecil scaffolding also got, tuning wrong, follow the tutorial over and over again Kei ...
- However, the actual development, what is written in the end is to package the package into software, in order to facilitate other people to modify the view, can not be packaged into JS file ...
- Do you really want to miss Vue? No! No.
- So, I did all these things.
Communications, the $el introduced on the Vue website are instanced elements, and var app=new Vue ({...}) App also refers to this instance object. So in not a lot of data, logic is not very complex, of course, I did not try to Vuex to manage the data, I heard very laborious.
Then the data interacts with each component to communicate, and that's what I'm doing.
var App,objarr,data;app=new Vue (...); O Bjarr=new Vue (...); Data=new Vue (...); function DataS () { app.data1=objarr.data1; } // Success!
So, I succeeded.
Vue can also play without webpake and other scaffolding