Topic: Open svg image file with next.js

bgining2this free asked 2 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 2 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 2 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