Vue error: did you register the component correctly? For.., make sure to provide the “name” option (solved)

P> question:
did you register the component?For recursive components, make sure to provid the "name" option

For recursive components, make sure to provid the “name” option

import ComponentA from './ComponentA.vue'
import ComponentB from './ComponentB.vue'
export default {
  component: {
    ComponentA,ComponentB
  },
  // ...
}

solution:
to correct component

import ComponentA from './ComponentA.vue'
import ComponentB from './ComponentB.vue'
export default {
  components: {
    ComponentA,ComponentB
  },
  // ...
}

Read More: