You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nuxt by default turn images < 1ko into inline images.
We can also modify the image size treshold.
It’s the url-loader that takes care of that:
url-loader allows you to conditionally inline a file as base-64 data URL if they are smaller than a given threshold. This can reduce a number of HTTP requests for trivial files. If the file is larger than the threshold, it automatically falls back to file-loader.
It would be great to have this in Gridsome too.
The text was updated successfully, but these errors were encountered:
Summary
Nuxt by default turn images < 1ko into inline images.
We can also modify the image size treshold.
It’s the url-loader that takes care of that:
It would be great to have this in Gridsome too.
The text was updated successfully, but these errors were encountered: