NuxtN
Nuxt13mo ago
4 replies
Adnan Erlansyah

Why nuxt is so slow when refresh it at the second time

Nuxt is so slow when refresh the browser at the second time. Or it's because I have so much dependencies?

I only have these dependencies in my project.
{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "@formkit/i18n": "^1.6.9",
    "@formkit/nuxt": "^1.6.9",
    "@formkit/themes": "^1.6.9",
    "@formkit/vue": "^1.6.9",
    "@nuxt/icon": "^1.8.2",
    "@nuxt/scripts": "^0.9.5",
    "@nuxtjs/leaflet": "^1.2.4",
    "@nuxtjs/tailwindcss": "^6.12.2",
    "@pinia/nuxt": "^0.7.0",
    "@tensorflow-models/coco-ssd": "^2.2.3",
    "@types/leaflet": "^1.9.15",
    "crypto-js": "^4.2.0",
    "face-api.js": "^0.22.2",
    "leaflet": "^1.9.4",
    "nuxt": "^3.14.1592",
    "pinia": "^2.2.6",
    "vue": "latest",
    "vue-router": "latest"
  },
  "devDependencies": {
    "ofetch": "^1.4.1"
  }
}
image.png
Was this page helpful?