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.)
Add comment
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
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