[Vuejs]-The data from Pinia store is not reactive in Nuxt 3 when switching language

0👍

I faced this problem. It looks like the layout isn’t updating store data.
A way around it is to bind a key on the header to force a remount on locale change eg.

:key="`header-${locale}`"

I’m not particularly thrilled with this solution, so if anyone has been able to look into this further, let me know.

Leave a comment