今天在引用Vue组件时报错Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.
原因:
找了半天原因原来是import的时候出错了,多加了{ } 花括号
错误代码 import { AddPlanModel } from './modules/AddPlanModel'
改正后:
import AddPlanModel from './modules/AddPlanModel'