vscode-wechat icon indicating copy to clipboard operation
vscode-wechat copied to clipboard

小程序预览失败,请稍后再试, 错误原因: TypeError: Cannot read properties of undefined (reading 'viewColumn')

Open Ricky-yy opened this issue 2 years ago • 0 comments

The vscode.previewHtml command has been deprecated since the introduction of the webview API. The webview API is significantly easier to work with, correctly supports different filesystem setups, and webviews also offer many security benefits over htmlPreviews. For these reasons, we would like all extensions to switch over the using the webview API and eventually remove the vscode.previewHtml command entirely.

Ricky-yy avatar Jun 24 '22 09:06 Ricky-yy