ย
This example uses three webpack loaders: webpack-image-srcset-loader, webpack-image-resize-loader, and webpack-image-placeholder-loader
These two loaders generate a srcset
string with images of different sizes and the corresponding resized and optimized images. Smaller screens will load smaller images, improving load time.
This loader generates a color for each image, you can use the color as a placeholder before the image loads.
npm install
npm run serve
npm run build