New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Windows Support #60
Comments
HRM will work out of the box as long as you're connected to the Vite webserver.
etc. |
Thanks, its works now in hot reloading mode with this config.
For each window i add this code too
But... What about Build Mode? I need to send a .html file to each Window This is my file structure The problem is that windows html files is not in build folder and cant be accesed for Electron How can i add this files to build process? |
By default, Vue is built from a single entrypoint (usually As I see it there are a couple of ways how to solve this:
|
Thanks a lot! Finally i keeped multiple entry points. Here is an example if anyone need it too: viteconfig.js
Loading HTML File with VUE Component
|
Double check that the configs are actually used. It's likely that your project never makes it into You can verify that the structure of the built app is correct by using the asar tool to unpack the generated asar file. |
Hello.
I am trying to build an application using this template.
I need to show multiple windows in the applicacion.
I create a new .html, .vue and a .ts file for each window.
When NODE ENV is in production mode, i can choose the .html file, which choose .ts file.
But how i sould work with hot reloading mode?
Can i create multiple windows?
Thanks!
The text was updated successfully, but these errors were encountered: