Vue 中引入組件的步驟1)采用ES6的import...from..語(yǔ)法或者CommonJS的require()方法引入組件2)對(duì)組件進(jìn)行注冊(cè)如下: 3)使用組件<my-component></my-compone>