docs(v2): add a note for images not rendered on dev server (#4164)

* Update plugin-ideal-image.md

Add a note that images are not rendered on the development server

* Update plugin-ideal-image.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
Yuval Hazaz 2021-02-03 16:38:47 +02:00 committed by GitHub
parent 9fc30b3d5a
commit 24b1695adc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,15 @@ slug: '/api/plugins/@docusaurus/plugin-ideal-image'
Docusaurus Plugin to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder) **in the production builds**.
:::note
You must create and serve a **production build** in order to view the high-quality images.
When using this plugin in **development**, only the low-quality image placeholders will be visible.
:::
## Installation
```bash npm2yarn