From 0ef55337814818dbe74e88693732f08be14e20b8 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Thu, 12 Oct 2023 16:13:15 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 50bf1b0..79bf996 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Official images integration for Hyas. ## Installation ```bash -npm i -D @hyas/images +npm i @hyas/images ``` ## Setup @@ -18,19 +18,19 @@ Add mounts to `./config/_default/module.toml`: ```toml [[mounts]] - source = "assets" + source = "node_modules/@hyas/images/assets" target = "assets" [[mounts]] - source = "node_modules/@hyas/images/assets" + source = "assets" target = "assets" [[mounts]] - source = "layouts" + source = "node_modules/@hyas/images/layouts" target = "layouts" [[mounts]] - source = "node_modules/@hyas/images/layouts" + source = "layouts" target = "layouts" ``` @@ -77,7 +77,7 @@ Add CSS class selectors to `safelist` in `./config/postcss.config.js`: .. safelist: [ 'img-fluid', - 'lazyload', + 'lazyloaded', 'blur-up', ], ..