>[success] # vue 自带好用但不常用的知识点 [基础组件的自动化全局注册](https://cn.vuejs.org/v2/guide/components-registration.html) [异步组件](https://cn.vuejs.org/v2/guide/components-dynamic-async.html) ~~~ 1.这里说明一下,项目需要我们前期自己定义了很多组件,所以全局引入可以帮助不用每个用到地方都自己引入 2.异步组价这里说明,项目原因用到了两个登录页,公司目前的解决方案使用ifram,其实这种就可以使用异步组件 ~~~ 复习组件的时候 看一下 这个写法 ~~~ <!-- 通过 $props 将父组件的 props 一起传给子组件 --> <child-component v-bind="$props"></child-component> ~~~