Newfangled Package Modernizer

    nuxt-json-data

    0.0.4 • Public • Published

    nuxt-json-data

    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.

    Warning: XSS prone, use with real care when you understand what you are doing :)

    Install

    npm i nuxt-json-data --save

    Usage

    In nuxt.config.js:

    export default {
      modules: ['nuxt-json-data']
    }

    Keywords

    none

    Install

    npm i nuxt-json-data

    DownloadsWeekly Downloads

    22

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    1.75 kB

    Total Files

    4

    Last publish

    Collaborators

    • galvez