跳到內容

Unsupported image format

本頁內容尚未翻譯。

UnsupportedImageFormat: Received unsupported format FORMAT from IMAGE_PATH. Currently only SUPPORTED_FORMATS.JOIN(’, ’) are supported by our image services.

The built-in image services do not currently support optimizing all image formats.

For unsupported formats such as GIFs, you may be able to use an img tag directly:

---
import rocket from '../assets/images/rocket.gif';
---
<img src={rocket.src} width={rocket.width} height={rocket.height} alt="A rocketship in space." />
貢獻

你有哪些想法?

社群
京ICP备15031610号-99