How to load a react app via URL inside VS code using the Webview API? #1276
-
Hi there, I'm looking for some help. I want to develop a VS code extension that displays a react app inside VS code (URL: https://app.visualboost.de). The react app contains routes and session cookies. I tried to load the web app using the following html snippet and the WebView API: Here's what I've tried so far:
However, in this case, I encounter the following error: Failed to set a named property 'myValue' on 'Window': Blocked a frame with origin "vscode-webview://15jpppnno59so6hp8bi6a1divotb6vsvmgran1q4a4pjb5l5iair" from accessing a cross-origin frame.
I get the following error: Failed to load resource: net::ERR_ACCESS_DENIED main.06ae35db.js:1 Can anyone tell me, if it's possible (and if yes how) to load the react app successfully inside VS code? P.S. I tried to load the react app via |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is not supported. And we have no plans to add this capability in the near future. You can search the vscode repo for issues similar to this where we discussed what concerns we have from opening this up for extension developers. Thank you |
Beta Was this translation helpful? Give feedback.
This is not supported. And we have no plans to add this capability in the near future. You can search the vscode repo for issues similar to this where we discussed what concerns we have from opening this up for extension developers. Thank you