TypeError and classList not found


Topic: TypeError and classList not found

Titanium asked 6 years ago

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:

Titanium answered 6 years ago

Now I see I had to add all other components as well and use them which turned the errors to go away.
Please insert min. 20 characters.

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