sindresorhus / electron-serve

Static file serving for Electron apps
MIT License
437 stars 34 forks source link

Create a new BrowserWindow in the Nuxt app. #30

Open prince381 opened 3 years ago

prince381 commented 3 years ago

I have created a nuxt.js and electron app which uses electron-serve 's loadURL method to load a page into the BrowserWindow. So far, I only have one BrowserWindow, which is the main window of the application and I'm able to perform page routing in this window like I would in a normal nuxt web application. But I want to create a second application window and I'm not sure how to use the loadURL to load a page into the secondary window since any page you create in nuxt have a ".vue" extension.