We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the menu needs to have the locale attribute in components/layout/NavBar.vue menu: { product: { copy: this.$store.state.layoutCopy.menuProduct }, mission: { copy: this.$store.state.layoutCopy.menuMission }, about: { copy: this.$store.state.layoutCopy.menuAbout }, careers: { copy: this.$store.state.layoutCopy.menuCareers }, blog: { copy: this.$store.state.layoutCopy.menuBlog }, },
The text was updated successfully, but these errors were encountered:
actually maybe it's here... store/index.js export const actions = { async nuxtServerInit ({ commit }, {req }) { const copy = await client.getEntries({'content_type': 'layoutCopy'}) let copys = {} for (let entry of copy.items) copys[entry.fields.name] = entry.fields.copy commit('layoutCopy', copys) } }
Sorry, something went wrong.
🔧 localising layoutCopy via state, addresses oneconcern#10
6949738
Successfully merging a pull request may close this issue.
the menu needs to have the locale attribute in components/layout/NavBar.vue
menu: {
product: { copy: this.$store.state.layoutCopy.menuProduct },
mission: { copy: this.$store.state.layoutCopy.menuMission },
about: { copy: this.$store.state.layoutCopy.menuAbout },
careers: { copy: this.$store.state.layoutCopy.menuCareers },
blog: { copy: this.$store.state.layoutCopy.menuBlog },
},
The text was updated successfully, but these errors were encountered: