How to open multiple VUE-CLI templates with BrowserWindow. ELECTRON mode #9140
Unanswered
mcalichio91
asked this question in
CLI - Electron mode
Replies: 1 comment
-
Ok couldn't do this with win.loadURL() but i could using window.open("http://localhost:8080/#/yourState") I don't know why this solution doesn't work with win.loadURL("http://localhost:8080/#/yourState") i receive "Cannot GET 'state'" but the first doesn't work for production. If somebody knows a solution please reply this post. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone.
I'm executing a createWindow function from a TEMPLATE.vue and in "win.loadURL" function i am passing the following code:
win.loadURL(path.resolve(__dirname,
../pages/Error404.vue
))but this just open the raw code file on a new browserwindow and not the render.
See the screen capture:
Why i can't to do this? i need that can do in a new browserWindow and not with ROUTER.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions