Replies: 1 comment 2 replies
-
Not directly. Actually, the way to do it is to use small namespaces, so you can import only the JSONs that the page needs. i18n.js module.exports = {
pages: {
'*': ['header', 'footer'],
'/': ['home'],
'/dashboard': ['dashboard'],
},
} header.json, footer.json, home.json & dashboard.json |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
it is possible that only those words that we use in the page got into ssr, and not the whole json ?
Beta Was this translation helpful? Give feedback.
All reactions