From 24b1695adc0bff879c8099553487f442bffb01ed Mon Sep 17 00:00:00 2001 From: Yuval Hazaz Date: Wed, 3 Feb 2021 16:38:47 +0200 Subject: [PATCH] docs(v2): add a note for images not rendered on dev server (#4164) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .../api/plugins/plugin-ideal-image.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/versioned_docs/version-2.0.0-alpha.70/api/plugins/plugin-ideal-image.md b/website/versioned_docs/version-2.0.0-alpha.70/api/plugins/plugin-ideal-image.md index 93e69e5f35..5227273f9b 100644 --- a/website/versioned_docs/version-2.0.0-alpha.70/api/plugins/plugin-ideal-image.md +++ b/website/versioned_docs/version-2.0.0-alpha.70/api/plugins/plugin-ideal-image.md @@ -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