I want to know if it is normal that nuxt takes 2 or 3 seconds to make the hot reload changes? For example with Gatsby the Hot Reloads are instantaneous. I missed something?
Here is my nuxt build config:
build: {
parallel: true,
cache: true,
extractCSS: process.env.NODE_ENV === 'production',
optimizeCSS: process.env.NODE_ENV === 'production',
transpile: ['vue-intersect'],
},
I think your problem is because you have a property components setted as true.
When set to true or using an object, it will include the nuxt/components dependencies and auto import your components (defined in ~/components) when you use them in your templates.
...
// change to false, or remove this config.
components: true
...
Only set to true if you know why you need this property as true. So you can find more about this, in the Nuxt Docs https://nuxtjs.org/api/configuration-components and in the Github docs https://github.com/nuxt/components.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With