vue-cli3 更新之后,引入组件import chezhuliebiao from ‘…/owner/owner_list’ 会报错:Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.

  • 后来找到原因 cli3中引入组件必须带 .vue后缀 否则就报错。
Logo

前往低代码交流专区

更多推荐