nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

config `module.exports = { performance: { prefetch: false } }` not working

Open Vi-jay opened this issue 9 years ago • 7 comments

After packaged the preloaded file more than forty, too much, hoping to close the preload. But in accordance with the configuration in the document, failed to successfully close the preload.

This question is available on Nuxt.js community (#c994)

Vi-jay avatar Jul 21 '17 02:07 Vi-jay

please help (´^`)

Vi-jay avatar Jul 21 '17 02:07 Vi-jay

I have the same problem as you

LXVC avatar Jul 24 '17 02:07 LXVC

@LXVC In order to solve this problem, I changed the source code, but not a good idea, if you need to solve this problem, you can try to 'node_module / nuxt / dist / nuxt.js' in this statement 'resourceHints = renderResourceHints' Changed to 'resourceHints = ""'

Vi-jay avatar Jul 24 '17 02:07 Vi-jay

Hi. With next release disable is simply possible using: (source)

render: {
 resourceHints: false
}

pi0 avatar Jul 24 '17 09:07 pi0

@pi0 Thx

Vi-jay avatar Jul 24 '17 09:07 Vi-jay

rc3 is out, closing it

atinux avatar Aug 01 '17 08:08 atinux

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Nov 03 '18 07:11 lock[bot]