Uncaught TypeError: app.component is not a function
目录文章目录一、问题二、原因三、解决四、总结文章目录一、问题vue在根组件上添加子组件时,报错UncaughtTypeError:app.componentisnotafunction1.js代码constappRoot={data(){return{todoList:[{id:1,text:"learningvue"},{id:2,text:"reading"},{id:3,text:"call