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: CDN SideNav2 Error

triumphtang free asked 4 years ago


var app = new Vue({ el: "#app", components: { mdbSideNav2: mdbvue.mdbSideNav2, }, data: { dataarray: [ { name: "group name", data: [ { name: "list1", href: "/", children: [ { name: "Name1", href: "/" }, { name: "Name2", href: "/" } ] }, { name: "list2", href: "/", children: [ { name: "Name21", href: "/" }, { name: "Name22", href: "/" } ] } ] } ], }, });

Magdalena Dembna staff commented 4 years ago

Hi, please use our code formatting tools to make your code readable and describe exactly what is the problem. A screenshot of the console with error would help a lot with troubleshooting. Best regards, Magdalena


triumphtang free answered 4 years ago


enter link description here

enter image description here


Magdalena Dembna staff commented 4 years ago

The problem is that for mdbSidenav2 to work properly you need to use router (https://router.vuejs.org/), as it spies on active links - that's why CDN causes the problem. I've created a task to take a look at this issue in the future. Best regards, Magdalena



Please insert min. 20 characters.

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: 6.7.1
  • Device: laptop
  • Browser: chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No