\n \u003Cp class=\"text-neutral-200 text-xs\">\n {{ transactionCost.credits }}\n \u003C/p>\n\u003C/UTooltip>\n```\n\n``` \n\u003CNuxtLayout>\n \u003CUApp :toaster=\"{ position: 'top-right' }\">\n \u003CNuxtPage />\n \u003C/UApp>\n\u003C/NuxtLayout>\n```\n\n\n### Description\n\nThe `app.vue` is already using the `UApp`. When I try to add a `UTooltip` inside the modal, it throw an error.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```\nUncaught (in promise) Error: Injection `Symbol(TooltipProviderContext)` not found. Component must be used within `TooltipProvider`\n```",[3226,3229,3231],{"name":3227,"color":3228},"bug","d73a4a",{"name":3190,"color":3230},"CB47CF",{"name":3232,"color":3233},"v3","49DCB8",2801,"ui","[v3][UTooltip] `UTooltip` inside `UModal` causing error","2025-02-06T15:28:30Z","https://github.com/nuxt/ui/issues/2801",0.7469309,{"description":3241,"labels":3242,"number":3249,"owner":3158,"repository":3158,"state":3193,"title":3250,"updated_at":3251,"url":3252,"score":3253},"### Describe the feature\r\n\r\nPresently Nuxt seems to lack a build cache? (_[Next has one](https://nextjs.org/docs/pages/building-your-application/deploying/ci-build-caching) that can be cached for speeding up builds_)\r\n\r\nIn a real Nuxt project, I am observering `nuxt build` taking roughly 38 seconds (_8s vite client, 11s vite server, 19s nitro server_). This does not improve when running `nuxt build` again, even though nothing has changed.\r\n\r\nIs it possible to optimize any of the build steps involved?\r\n- Do the build tools used support re-use of a cache and Nuxt just needs to expose a setting (_or document one_) for enabling this support?\r\n- If not, are there any opportunities to implement this where it'd be worthwhile?\r\n\r\nPerhaps you could use [BLAKE3](https://github.com/BLAKE3-team/BLAKE3#readme) via [`@noble/hashes`](https://www.npmjs.com/package/@noble/hashes#blake3) as a speedy way to get a checksum on build inputs? (_could be an opt-in flag_). This is perhaps a naive approach, and depending on overhead may not always help reduce the build time 馃槄 \r\n\r\n---\r\n\r\n### Reproduction / Comparison\r\n\r\nNuxt example:\r\n\r\n```console\r\n# Reproduction environment:\r\n$ docker run --rm -it --workdir /reproduction node:20-bookworm-slim bash\r\n$ corepack enable\r\n\r\n# An example project (possibly too small for measurable difference):\r\n$ npx -y nuxi init --packageManager pnpm --gitInit false .\r\n# Repeat this step, no improvement to build time:\r\n$ time pnpm build\r\n```\r\n\r\nNext.js example:\r\n\r\n```console\r\n# Reproduction environment:\r\n$ docker run --rm -it --workdir /reproduction node:20-bookworm-slim bash\r\n$ corepack enable\r\n\r\n# An example project:\r\n$ npx -y create-next-app@latest --use-pnpm --example hello-world .\r\n# Repeat this step, 1st build 10s while builds after are 5s:\r\n$ time pnpm build\r\n```\r\n\r\n---\r\n\r\n### Related\r\n\r\nI've looked through Nuxt and Nitro docs, nothing really stands out cache wise for a CI to optimize reducing future builds with. Ideally a small change (_or none at all_) should not require the full build time.\r\n\r\n> Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).\r\n\r\nFirst five pages of each for keywords searches of: `build time`, `build speed`, `build cache`:\r\n\r\n- Disabling GZIP in builds for some gain (_`sourcemaps` is another potential option_): https://github.com/nuxt/nuxt/issues/23352#issuecomment-1732026846\r\n- 4 minute build times: https://github.com/nuxt/nuxt/discussions/20642\r\n- 6 minute build times: https://github.com/nuxt/nuxt/discussions/20494\r\n- 10 minute report, with 1 minute if disabling SSR: https://github.com/nuxt/nuxt/issues/20042\r\n- 80s to 5-10s report if using `experimental.treeshakeClientOnly: false`: https://github.com/nuxt/nuxt/issues/20042#issuecomment-1495180211\r\n - https://nuxt.com/docs/guide/going-further/experimental-features#treeshakeclientonly\r\n - https://nuxt.com/docs/api/configuration/nuxt-config#treeshakeclientonly\r\n- A report of Nuxt spending half build time in nitro, but nitro direct being fast: https://github.com/nuxt/nuxt/issues/20042#issuecomment-1667765867\r\n- A suggestion that upcoming Rollup 4.0 release adopting the rust-based SWC may bring improvements: https://github.com/nuxt/nuxt/issues/20042#issuecomment-1703711265\r\n - Associated Rollup 4 PR: https://github.com/rollup/rollup/pull/5073\r\n - Rollup 4 release tracking PR: https://github.com/rollup/rollup/pull/5140\r\n- Mar 2019 **Nuxt 2** doc links for several build config options to optimize build time (_all settings tied to webpack_): https://github.com/nuxt/nuxt/issues/5131#issuecomment-468231314\r\n\r\nThere is a deployment guide, but not sure if Nuxt has one for minimizing time of production builds.\r\n\r\n### Additional information\r\n\r\n- [ ] Would you be willing to help implement this feature?\r\n- [ ] Could this feature be implemented as a module?\r\n\r\n### Final checks\r\n\r\n- [X] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\r\n- [X] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[3243,3244,3247,3248],{"name":3201,"color":3202},{"name":3245,"color":3246},"good first issue","fbca04",{"name":3152,"color":3153},{"name":3155,"color":3156},23392,"Optimize build time speed with a cache (or other settings)","2024-08-28T20:00:39Z","https://github.com/nuxt/nuxt/issues/23392",0.75408995,{"labels":3255,"number":3258,"owner":3158,"repository":3158,"state":3193,"title":3259,"updated_at":3260,"url":3261,"score":3262},[3256,3257],{"name":3201,"color":3202},{"name":3204,"color":3205},7698,"Reduce Blocking time of Nuxt Applications","2023-01-22T15:52:36Z","https://github.com/nuxt/nuxt/issues/7698",0.7541394,{"description":3264,"labels":3265,"number":3273,"owner":3158,"repository":3158,"state":3193,"title":3274,"updated_at":3275,"url":3276,"score":3277},"needs to be investigated - probably not a terribly complex fix\n\nalso `test client-side navigation` for server islands",[3266,3267,3270],{"name":3245,"color":3246},{"name":3268,"color":3269},"chore","D0F1A9",{"name":3271,"color":3272},"馃Ч p1-chore","FEF2C0",30867,"flaky test for spa-preloader","2025-03-17T22:48:40Z","https://github.com/nuxt/nuxt/issues/30867",0.75471526,["Reactive",3279],{},["Set"],["ShallowReactive",3282],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$focBK2AwueAD_fe3zxY0f9Tec0Nl7mt2_6uWjsUSehfQ":-1},"/nuxt/nuxt/25048"]