79823061

Date: 2025-11-18 06:59:04
Score: 1.5
Natty:
Report link

It seems that you can stop prefetch by adding hooks in nuxt.config.ts

https://github.com/nuxt/nuxt/issues/13778#issuecomment-2076656036

hooks: {
    "build:manifest": (manifest) => {
        for (const key in manifest) {
            const file = manifest[key];
            //all file stop prefetch;
            file.preload = false;
            file.prefetch = false;
        }
    },
},
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Barney Zhang