标签:view inf script com alt 执行 vue vue.js out
1. vue-cli文件执行顺序
index.html -> main.js -> App.vue(根组件,用来融合各个子vue,子vue自带style&script)
2. 子vue和app.vue的调用关系
--- 子vue通过export default来展现接口
--- app.vue 通过import来使用
3. 父与子数据传递
父 v-bind->子 props
子 this.$emit->父 v-on $event
4. router-link routerv-view in app.vue & router register in main.js
标签:view inf script com alt 执行 vue vue.js out
原文地址:https://www.cnblogs.com/KellyChen/p/9061919.html