Skip to content

Commit c6aaa97

Browse files
committed
docs: updated documentation
1 parent a94163f commit c6aaa97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This should **speed up** (**blazing fast**) your *nuxt-website* up to a value of
6666
- bots doesn't handle `SPA routing`;
6767
- [`<client-only>` components](https://nuxtjs.org/api/components-client-only/) could lead in a slower TTI;
6868
- [`<client-only>` components](https://nuxtjs.org/api/components-client-only/) can contain a [static placeholder](https://nuxtjs.org/api/components-client-only/);
69-
- `lazy-load` for images can be fixed with a [native attribute](https://web.dev/native-lazy-loading/), or with a custom `script`/`selectorToKeep` (_check the configuration_);
69+
- `lazy-load` for images can be fixed with a [native attribute](https://web.dev/native-lazy-loading/), or with a custom `script`/`classesSelectorsToKeep` (_check the configuration_);
7070
- `hydration` **decrease** performance, so it's ok to prune it for `bots or audits`;
7171
- less HTML, assets and resources are served to browsers and clients;
7272
- bot/audit only have the Javascript they need;
@@ -150,7 +150,7 @@ ___
150150
// Emitted events for callbacks methods
151151
onBeforePrune: null, // ({ result, [ headers, res ] }) => {}, `headers` and `res` are not available on `generate`
152152
onAfterPrune: null, // ({ result, [ headers, res ] }) => {}, `headers` and `res` are not available on `generate`
153-
},
153+
}
154154

155155
};
156156

0 commit comments

Comments
 (0)