Topic: TypeError and classList not found
I use following code in Header.vue
<template>
<navbar class="indigo" dark>
<p>Hello world</p>
</navbar>
</template>
<script>
import { Navbar } from 'mdbvue';
export default {
name: 'Header',
components: {
Navbar
}
};
</script>
But console gives me following error:
Add comment
Titanium
answered 7 years ago
Now I see I had to add all other components as well and use them which turned the errors to go away.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 4.6.0
- Device: HP Z600
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Tags
Related topics