Open svg image file with next.js


Topic: Open svg image file with next.js

bgining2this asked 8 months 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 8 months 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 commented 7 months 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
  • User: 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