Vue 中引入组件的步骤1)采用ES6的import...from..语法或者CommonJS的require()方法引入组件2)对组件进行注册如下: 3)使用组件<my-component></my-compone>