The app's own language menu fires a cancelable 'doxa-language-request'. Both pages cancel it and switch the site's locale (the language lives in the address), so the site stays the single owner of the language and the app follows it. The tab open at the moment of the switch carries over in ?tab=. A language the site has no route for is ignored. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| composables | ||
| layouts | ||
| middleware | ||
| pages | ||
| plugins | ||
| types | ||
| utils | ||
| app.config.ts | ||
| app.vue | ||
| error.vue | ||