Closed stuartambient closed 1 year ago
the scaffolding tool for electron-vite. see https://evite.netlify.app/ https://evite.netlify.app/guide/dev.html
the scaffolding tool for electron-vite. see https://evite.netlify.app/ https://evite.netlify.app/guide/dev.html
I already have the project. I've added an additional html file and want to know how it gets rolled into the .out directory since that is the main entry point.
Multiple entry points can be configured in the configuration file. see https://evite.netlify.app/guide/dev.html multiple windows part
does this section remain then and I add in the rollup options ?
resolve: {
alias: {
'@renderer': resolve('src/renderer/src')
}
},```
It's unclear what this code is doing.
alias
is common in building tools. You can learn more from the documents of rollup or vite.
Ok, got things working without a glitch! Thank you!
Help wanted
This is using React in renderer.
I want to use a child.html like index.html child.html would have a different mount point for what I call ChildApp.jsx. How to get this working with the './out/ ?
My child.html is sitting in the same place as my index ./src/renderer but Vite doesn't seem to crawl and find the child.html
Used Scaffolding
create-electron