This repository contains an example of project using VueJS and @brigad/ideal-image-loader.
For more details about the purpose of @brigad/ideal-image-loader, see their repository.
You can easily add ideal-image-loader to your project by adding it to your vue.config.js
and removing previous loaders
as shown in this example.
A simple component example generating the correct srcset
attributes and using wepb images can be found
here.