Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Incorrect navigation links in SPA mode #7

Open
dzeso opened this issue Jul 21, 2019 · 2 comments
Open

Incorrect navigation links in SPA mode #7

dzeso opened this issue Jul 21, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@dzeso
Copy link

dzeso commented Jul 21, 2019

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?

@Gimanh
Copy link
Contributor

Gimanh commented Jul 29, 2019

Hi. Can you create reproduction link? I will try to help.

@appinteractive
Copy link

@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')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants