For setup instructions please see the fabric wiki page that relates to the IDE that you are using.
This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.
See the BasicBrowser and ExampleModClient class for how to create a web browser.
See the build.gradle file for how to add MCEF as a dependency to your project.