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.)
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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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