nuxtron
nuxtron copied to clipboard
Incorrect navigation links in SPA mode
Hi. SPA mode in example still work incorrect way. In the beginning please see screenshot. I got it after installing example. But the main problem is that in SPA mode the main window shoul be loaded only once (https://en.wikipedia.org/wiki/Single-page_application#Running_locally). In example it is reloading by every navigation link. Could you correct it please?
Hi. Can you create reproduction link? I will try to help.
@dzeso you have to use the <nuxt-link /> component together with :to="{ name: index } for your links and in background.js the prod page should be called like that: await mainWindow.loadURL('app://index.html')