Topic: Open svg image file with next.js
bgining2this free asked 3 years ago
Hello Community.-
Display responsive svg image
Image is not shown
I have tried with the img tag, in a css module, no luck
Krzysztof Wilk staff answered 3 years ago
Hi!
Did you try using next/image
? Also @svgr/webpack
plugin for webpack or inline-react-svg
plugin for Babel could be helpful :)
Keep coding!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 1.4.0
- Device: Desktop
- Browser: Chromium
- OS: Arch Linux
- Provided sample code: No
- Provided link: No