Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: TypeError and classList not found

Titanium free 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 free 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

  • ForumUser: 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