Develop as a web app in the browser #895
-
This is a really great template, thank you! I have an electron app running, but now I want to run that app in the browser. I've made sure to separate any electron-specific node stuff so that it can be run in the browser (it passes jsdom tests just fine, ie without node). I tried running |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's web app: https://github.com/cawa-93/vite-electron-builder/tree/main/packages/renderer |
Beta Was this translation helpful? Give feedback.
Here's web app: https://github.com/cawa-93/vite-electron-builder/tree/main/packages/renderer
App.vue is here: https://github.com/cawa-93/vite-electron-builder/blob/main/packages/renderer/src/App.vue
You can use all vite cli inside https://github.com/cawa-93/vite-electron-builder/tree/main/packages/renderer like
build:renderer
script does.