Webview Extensions in Theia Electron
February 12, 2020 at 3:01pmWebview Extensions in Theia Electron
February 12, 2020 at 3:01pmHi. I'm having an issue with using webview extensions in an Electron instance of Theia. I get a 404 resource not found error when I open the webview.

The extension I'm using is: https://github.com/leocll/vscode-extension-webview-template
The command to open the webview is: "Example: Webview"
I also had to clone the extension repo, as I could not get the VSIX to work, but that may just be an issue with the VSIX he uploaded, I haven't had issues with other VSIXs in Theia. If I place the repo folder into the plugins folder, the webview opens just fine, but has the 404 error instead of any contents.
The webview works fine in a browser instance of Theia.
Super sorry if this is an issue that has already come up, I looked around a little bit and couldn't find anything, but it may have already been asked.
Any help or suggestions are appreciated!
February 13, 2020 at 8:41am
There were some discussions how to debug resource loading for webviews in Theia. Maybe it can help you to investigate.
In Electron you should be able to open dev-tools via help menu and add breakpoints.
February 14, 2020 at 2:14pm
I will definitely look into it. Thank you for the help. I filed the issue here: https://github.com/eclipse-theia/theia/issues/7156