Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk authored Oct 12, 2023
1 parent e882116 commit 0ef5533
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Official images integration for Hyas.
## Installation

```bash
npm i -D @hyas/images
npm i @hyas/images
```

## Setup
Expand All @@ -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"
```

Expand Down Expand Up @@ -77,7 +77,7 @@ Add CSS class selectors to `safelist` in `./config/postcss.config.js`:
..
safelist: [
'img-fluid',
'lazyload',
'lazyloaded',
'blur-up',
],
..
Expand Down

0 comments on commit 0ef5533

Please sign in to comment.