How to add local image inside Sidenav Logo


Topic: How to add local image inside Sidenav Logo

fe_developer asked 5 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 5 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
  • User: 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
Tags