nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.67k stars 469 forks source link

Pinia Store Support for dynamic route params. #1338

Open D4RKAR117 opened 2 years ago

D4RKAR117 commented 2 years ago

Is your feature request related to a problem? Please describe.

When using pinia store, is very difficult to achieve a fast dynamic routing paramaters change as described here .

Describe the solution you'd like

When the plugin of nuxt pinia is installed like is described here, prefer that the mutation/action of vuex i18n/setRouteParams is performed at pinia over vuex, only if the option of using alongside vuex is at his default value false like is described here.

Describe alternatives you've considered

Describe at the docs that when using pinia you must enable vuex usage alongside pinia like is described here.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.