tomjs / vite-plugin-vscode

用 vue/react 来开发 vscode extension webview ,支持 esm 和 cjs。Use vue/react to develop vscode extension webview, supporting esm and cjs.
MIT License
36 stars 6 forks source link

sveltte for webview #19

Open tigawanna opened 3 days ago

tigawanna commented 3 days ago

tried to set it up using svelte and got this far any help to get it working , it keeps crashing with module type errors but works as a SPA site

tomgao365 commented 3 days ago

@tigawanna

Note: extensions are not impacted by this change and not loaded via ESM, please see

tigawanna commented 2 days ago

looks like am getting console warnings about only react and vue support

11:23:14 [tomjs:vscode] Only support react or vue! 11:23:17 [tomjs:vscode] Only support react or vue!

i got it woking with preact though because it aliases the react stuff

tomgao365 commented 2 days ago

@tigawanna This is my mistake. v3.0 adds support for react-devtools and vue-devtools standalone applications. This is a warning that devtools configuration is not supported. In addition to devtools, vite-plugin-vscode supports all programming languages ​​supported by vite.

tigawanna commented 2 days ago

nice