Why is the Nuxt dev server so slow?
Like it can take up to 3 seconds to hot reload and I'm not even using ssr. Soo what can possibly be the reason for this?
11 Replies
maybe your calling a slow api or something?
or is that always happening?
It's always happening
i tried disabling all the apis and it still happens : /
is it after a certain nuxt module is enabled?
or is it always happening, also on a new project?
let me try it on a new project
nope it doesnt happen on a new project
There is one thing that is interesting and idk why
When i update orders.vue, it updates tailwind.css? Like is this from the module viewer or?
if you open devtools and make a change, is there any request that takes long before reponding?
"all" takes a long time
but this is the name of the route
like /dashboard/orders/all
so yea
There is probably some promise that needs being resolved before the page is rendered
check your setup script
omfg found it. It was the /dashboard route page not the /dashboard/orders/all page and it had a promise that was trying to connect to the profile document on firebase : / damn. Thank you guys
after all you were right. Thanks
no problem 🙂