Everything gets loaded on a fresh app
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Environment
| Operating system | Windows 10.0.26200 |
| CPU | 12th Gen Intel(R) Core(TM) i7-12700H (20 cores) |
| Node.js version | v22.16.0 |
| nuxt/cli version | 3.34.0 |
| Package manager | npm@10.9.2 |
| Nuxt version | 4.4.2 |
| Nitro version | 2.13.3 |
| Builder | vite@7.3.1 |
| Config | compatibilityDate, devtools, eslint, i18n, modules |
| Modules | @nuxt/ui@4.6.1, @nuxt/eslint@1.15.2, @nuxt/fonts@0.14.0, @nuxt/image@2.0.0, nuxt-swiper@2.0.1, @nuxtjs/i18n@10.2.4 |
Is this bug related to Nuxt or Vue?
Nuxt
Package
v4.x
Version
4.6.1
Reproduction
Newly app, just installed modules and have only altered the app.vue:
<template>
<UApp>
<NuxtPage />
</UApp>
</template>
Description
It seems that everything gets loaded resulting in very slow DX for developing anything:
Additional context
I understand that this might be related to #3376 but this must be fixed because it negatively impacts productivity and the experience working with Nuxt UI
Logs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the fresh-app reproduction and the app.vue shown in the issue, then inspect the development build output to identify why all installed modules are loaded. Compare the startup and module-loading behavior with and without the listed modules; done means a minimal Nuxt UI app no longer loads unnecessary functionality or suffers the reported development slowdown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt
- Domain
- developer-experience, frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100