You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+101-47
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,18 @@
4
4
5
5
**English** | [中文](./README.zh_CN.md)
6
6
7
-
> The [vite](https://cn.vitejs.dev/) plugin for[vscode extension](https://code.visualstudio.com/api), supports`esm` and `cjs`.
7
+
> Use `vue`/`react` to develop[vscode extension webview](https://code.visualstudio.com/api/references/vscode-api#WebviewPanel), supporting`esm` and `cjs`.
8
8
9
-
Inject [@tomjs/vscode-extension-webview](https://github.com/tomjs/vscode-extension-webview) into vscode extension code and web client code, so that webview can support HMR during the development stage.
9
+
In development mode, inject the code of [@tomjs/vscode-extension-webview](https://github.com/tomjs/vscode-extension-webview) into `vscode extension code` and `web page code`, use To support `HMR`; during production build, the final generated `index.html` code is injected into `vscode extension code` to reduce the workload.
10
10
11
11
## Features
12
12
13
-
-Fast build `extension` with [tsup](https://github.com/egoist/tsup)
14
-
-Little configuration, focus on business
13
+
-Use [tsup](https://github.com/egoist/tsup) to quickly build `extension code`
14
+
-Simple configuration, focus on business
15
15
- Support `esm` and `cjs`
16
16
- Support webview `HMR`
17
-
- Support `vue` and `react` and other [frameworks](https://vitejs.dev/guide/#trying-vite-online) supported by `vite`
17
+
- Support [Multi-Page App](https://vitejs.dev/guide/build.html#multi-page-app)
18
+
- Supports `vue` and `react` and other [frameworks](https://cn.vitejs.dev/guide/#trying-vite-online) supported by `vite`
0 commit comments