Topic: Unknown custom element: <mdb-navbar-brand>
frederickvalone free asked 5 years ago
I am seeing this in the chrome console [Vue warn]: Unknown custom element: <mdb-navbar-brand> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
It still works correctly but I don't understand why the issue exists. The code below is where I register the component. This did not happen before upgrading to pro.
import {
mdbNavbar,
NavbarNav,
NavbarCollapse,
mdbNavbarBrand,
Modal,
ModalHeader,
ModalTitle,
ModalBody,
ModalFooter,
Column,
Badge,
Row,
Fa,
Btn,
} from 'mdbvue'
export default {
name: 'QCHeader',
components: {
mdbNavbar,
NavbarNav,
NavbarCollapse,
mdbNavbarBrand,
Modal,
ModalHeader,
ModalTitle,
ModalBody,
ModalFooter,
Column,
Badge,
Row,
Fa,
Btn,
QCLogo,
LoginForm,
WelcomeLogout,
NavLinks,
},
Add comment
Mikołaj Smoleński staff answered 5 years ago
Hi there,
I just checked our package and it seems to be ok. Could You please try to import the component without prefix (NavbarBrand)?
Best regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 4.8.2
- Device: pc
- Browser: chrome
- OS: redhat linux
- Provided sample code: No
- Provided link: No