laravel-nuxt icon indicating copy to clipboard operation
laravel-nuxt copied to clipboard

Nuxt development environment is so slow

Open larsjanssen6 opened this issue 9 months ago • 1 comments

Hi,

Is it just me or is developing with nuxt extremely slow? When I hit save it takes 10 seconds every time before I even see it on my screen. When I re-run npm run dev it takes ages before the dev environment is ready.

larsjanssen6 avatar May 05 '24 09:05 larsjanssen6

@larsjanssen6 Hello. I think this is true for everyone, especially if you enable DevTools and SSR mode in development mode. It depends on the resources of the hardware on which you run the development. Sometimes it makes sense to disable DevTools and SSR if your work is focused on other things.

k2so-dev avatar May 05 '24 12:05 k2so-dev

I see that devtools is enabled by default in the configuration.

Hi, devtools is disabled by default. Try changing "enabled" value to true. https://github.com/k2so-dev/laravel-nuxt/blob/4a208987e31917eb2589854428a52bfce052953e/nuxt.config.ts#L15-L22

k2so-dev avatar Sep 11 '24 03:09 k2so-dev

I see that devtools is enabled by default in the configuration.

Hi, devtools is disabled by default. Try changing "enabled" value to true.

https://github.com/k2so-dev/laravel-nuxt/blob/4a208987e31917eb2589854428a52bfce052953e/nuxt.config.ts#L15-L22

You are right, I am very tired tonight and could not see that it was disabled by default. Thank you very much.

mreduar avatar Sep 11 '24 03:09 mreduar