This is an embedded mini browser example of component.
:Browse {url}
command opens embedded mobile browser as screenshot. You can see the document page, issue page, and so on quickly. This embedded browser is implemented with <webview>
tag of Electron.
You can execute this example by below commands.
$ cd /path/to/neovim-component
$ npm run dep
$ cd ./example/mini-browser
$ npm run app
I created very simple webview wrapper as <mini-browser>
component. It works with <neovim-editor>
component and Neovim process. When user inputs command, the url is sent by rpcnotify()
and <neovim-editor>
forwards it to <mini-browser>
component. <mini-browser>
component is separated and reusable for Electron apps.