coreui / coreui-free-laravel-admin-template

CoreUI Free Laravel Bootstrap Admin Template
https://coreui.io/laravel/
MIT License
620 stars 354 forks source link

Sidebar broken. #68

Closed airliajsmith closed 3 years ago

airliajsmith commented 3 years ago

When I came in to work on Tuesday, July 6th I noticed a new error:

Uncaught TypeError: Cannot set property 'Constructor' of undefined.

It appears to be linked to this CDN:

https://unpkg.com/@coreui/coreui/dist/js/coreui.bundle.min.js

When I comment it out, the error goes away, but the sidebar has issues either way:

ctyler69 commented 3 years ago

When I came in to work on Tuesday, July 6th I noticed a new error:

Uncaught TypeError: Cannot set property 'Constructor' of undefined.

It appears to be linked to this CDN:

https://unpkg.com/@coreui/coreui/dist/js/coreui.bundle.min.js

When I comment it out, the error goes away, but the sidebar has issues either way:

  • dropdown doesn't work
  • collapse doesn't work

Hello, I am having the same issue but in my case, I do not have any styling at all. Commenting out does not resolve the issue.

mrholek commented 3 years ago

Check this https://github.com/coreui/coreui/issues/235

airliajsmith commented 3 years ago

Not sure how I missed that post. I searched for so long.

I'll give it a try. Thanks!

airliajsmith commented 3 years ago

Now I have a new issue when linking to the new file:

CoreUI's sidebar require Perfect Scrollbar

mrholek commented 3 years ago

Try this <script src="https://unpkg.com/@coreui/coreui@3.4.0/dist/js/coreui.bundle.min.js"></script>

airliajsmith commented 3 years ago

That fixed it. Thanks!!