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: 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!


bgining2this free commented 3 years ago

Thank you i will try those !!



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 React
  • MDB Version: MDB5 1.4.0
  • Device: Desktop
  • Browser: Chromium
  • OS: Arch Linux
  • Provided sample code: No
  • Provided link: No