Example of Electron app that registers and switches between multiple WebContentsViews.
Note
This repository was originally meant to show examples using BrowserView, but since BrowserView has been deprecated in favor of WebContentsView as its replacement, it has now become a repository that shows examples using WebContentsView (even though it still has BrowserView in the repository name).
You need to install Git and Node.js as prerequisites.
# Clone this repository
git clone https://github.com/mamezou-tech/electron-example-browserview
# Go into the repository
cd electron-example-browserview
# Install dependencies
npm install
# Run the app
npm start