This is a vscode
webview
extension template. It contains vscode
and webview
two-way communication API, quick and easy to build vscode web extension.
vscode
vscode.webview.js
vscode.message.js
vscode.bridge.js
vscode.utils.js
web
web.data.js
web.index.js
web.message.js
web.page.js
web.vscode.js
npm run build
: buildweb
and extension.npm run buildext
: build extension, be equal tovsce package
.npm run buildweb
: buildweb
, be equal tonpm run build
inweb
folder.npm run startweb
: startweb
, be equal tonpm run dev
inweb
folder.
WebView Example
in marketplace of vscode.
example.webview
:Example: WebView
example.helloWorld
:Example: Hello World