mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-24 03:58:49 +02:00
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:
parent
9fc30b3d5a
commit
24b1695adc
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue