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
They are both very simple. Just a simple configuration of the entry file is all that is needed.
They both listen for changes to the file and execute electron . command to start or restart the Electron App.
vite-plugin-electron uses Vite builds such as Main-Process, Preload-Scripts, which are based on the build API provided by Vite, which means it works well with all of Vite's ecosystems.
vite-electron-plugin is much faster(Not Bundle), it is only based on esbuild to convert .ts files, so it has very high performance. It has a plugin system that references Vite's implementation, but is not compatible with Vite's plugins.
关于 vite-plugin-electron 与 vite-electron-plugin
它们都很简单。只是简单的配置入口文件即可。
它们都是监听了文件的变化,当文件被构建完成或重新构建时执行 electron . 启动或重启 Electron App。
vite-plugin-electron 使用 Vite 构建诸如 Main-Process、Preload-Scripts 它们都基于 Vite 提供的 build API。也就是说它能够很好的使用 Vite 的所有生态。
vite-electron-plugin 更加的快(单文件编译),它仅仅是基于 esbuild 转换 ts 文件,所以它具有非常高的性能。它具有一套参考 Vite 实现的插件系统,但不兼容 Vite 的插件。
The text was updated successfully, but these errors were encountered:
vite-plugin-electron
vsvite-electron-plugin
electron .
command to start or restart the Electron App.vite-plugin-electron
uses Vite builds such as Main-Process, Preload-Scripts, which are based on the build API provided by Vite, which means it works well with all of Vite's ecosystems.vite-electron-plugin
is much faster(Not Bundle), it is only based onesbuild
to convert.ts
files, so it has very high performance. It has a plugin system that references Vite's implementation, but is not compatible with Vite's plugins.关于 vite-plugin-electron 与 vite-electron-plugin
electron .
启动或重启 Electron App。The text was updated successfully, but these errors were encountered: