image
image copied to clipboard
Components or presets for LCP and lazy elements
Hey there!
I recently thought about a feature addition to the Nuxt Image that will deliver following functionality in form of additional component or a preset:
- Largest Contentful Paint element that will not be lazy loaded, will have a fetchPriority high, preload, and maybe more
- Lazy element, that will have loading lazy, fetchPriority low, etc.
This way, users would be able to just set a preset for the element that they want to be loaded first (LCP) and the ones that can be loaded after (i.e icons in the footer).
WDYT?
I am happy to contribute with this change if you think that it will make sense :)