You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App fails to load with an error coming from plugin.routing.js - store.getters[${vuex.moduleName}/localeRouteParams](locale) is not a function.
Additional comments?
If syncRouteParams option is false, then the localeRouteParams getter within plugin.main.js does not get registered. However, switchLocalePath function within plugin.routing.js depends on localeRouteParams getter being present (if vuex and store are present, which both holds true with the configuration listed above)
This bug report is available on Nuxt community (#c429)
The text was updated successfully, but these errors were encountered:
Version
v6.7.0
Reproduction link
https://not-needed.com
Steps to reproduce
Add the following config to vuex:
Reload the server / page
What is expected ?
App should load and work
What is actually happening?
App fails to load with an error coming from plugin.routing.js -
store.getters[
${vuex.moduleName}/localeRouteParams](locale)
is not a function.Additional comments?
If
syncRouteParams
option is false, then thelocaleRouteParams
getter withinplugin.main.js
does not get registered. However,switchLocalePath
function withinplugin.routing.js
depends onlocaleRouteParams
getter being present (if vuex and store are present, which both holds true with the configuration listed above)The text was updated successfully, but these errors were encountered: