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
I am trying to create a second Window with a different html file than main.html. I am successfully creating the window and using the new external.html template, but am unsure about how to use its own vue template.
In short, you need to generate a separate webpack bundle and HTML file for each window. This is kind of clunky and involves a lot of duplication with the current setup.
Try something like this:
Create an external.js file next to main.js
Should basically be a copy of main.js, but referencing External.vue instead of Home.vue.
I am trying to create a second Window with a different html file than
main.html
. I am successfully creating the window and using the newexternal.html
template, but am unsure about how to use its own vue template.Folder structure
background.js
Secondary window is loading
external.html
file correctly, but I'm unsure of how to have it load theExternal.vue
file.The secondary window is looking for the
#app
element.main.js
The text was updated successfully, but these errors were encountered: