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
},
// ...
}
div>
Read More:
- Unknown custom element: <component> – did you register the component correctly
- Solve the problem of showing unregistered (unknown custom element) when importing components into Ant Design Pro
- Attempted import error: ‘injectglobal’ is not exported from ‘styled components’
- Higher order components in react
- Keep alive in Vue
- Problems and solutions of error reporting in using swiper in Vue
- React bootstrap loading and how to use modules
- The element “extra pin The solution of “in normal of part” warning
- Vue3. X reports an error using vantui. Failed to resolve component: Van-**-**
- Server object error ‘ASP 0178: 80070005’
- Idea installation vue.js After plug-in, new has no Vue component
- ImportError:libta_lib.so.0
- Altium designer 18: failed to export
- When react dynamically prunes components by operating arrays, the state of the remaining components is not preserved. Solution to the problem (method of dynamically setting unique key value)
- Solution of “do not use ‘new’ for side effects” for eslint verification of Vue project
- How to make the import complete smoothly!
- Python export data (CSV format)
- Research on invalid modification of elementui component style
- Solution of Oracle error 6550