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: How to add local image inside Sidenav Logo

fe_developer free asked 4 years ago


Expected behavior It should show local image as Logon for Sidenav. Actual behavior It shows broken link at the given point. Resources (screenshots, code snippets etc.) enter image description here


Mikołaj Smoleński staff answered 4 years ago


To add local image please use require function.

Example:

:src="require('<path-to-img>')"

Best regards



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.0
  • Device: laptop
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No