Experimental module for Nuxt.js that changes asyncData and Vuex hydration to raw JSON serialization (like Next.js) instead of using devalue. For large asyncData payloads, it resulted in up to 40% better performance in some tests.
undefinedWarning: XSS prone, use with real care when you understand what you are doing :)
npm i nuxt-json-data --save
In nuxt.config.js:
export default {
modules: ['nuxt-json-data']
}
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.