\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```",[2978,2981,2983],{"name":2979,"color":2980},"bug","d73a4a",{"name":2942,"color":2982},"CB47CF",{"name":2984,"color":2985},"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":2993,"labels":2994,"number":3001,"owner":2910,"repository":2910,"state":2945,"title":3002,"updated_at":3003,"url":3004,"score":3005},"### 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).",[2995,2996,2999,3000],{"name":2953,"color":2954},{"name":2997,"color":2998},"good first issue","fbca04",{"name":2904,"color":2905},{"name":2907,"color":2908},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":3007,"number":3010,"owner":2910,"repository":2910,"state":2945,"title":3011,"updated_at":3012,"url":3013,"score":3014},[3008,3009],{"name":2953,"color":2954},{"name":2956,"color":2957},7698,"Reduce Blocking time of Nuxt Applications","2023-01-22T15:52:36Z","https://github.com/nuxt/nuxt/issues/7698",0.7541394,{"description":3016,"labels":3017,"number":3025,"owner":2910,"repository":2910,"state":2945,"title":3026,"updated_at":3027,"url":3028,"score":3029},"needs to be investigated - probably not a terribly complex fix\n\nalso `test client-side navigation` for server islands",[3018,3019,3022],{"name":2997,"color":2998},{"name":3020,"color":3021},"chore","D0F1A9",{"name":3023,"color":3024},"馃Ч p1-chore","FEF2C0",30867,"flaky test for spa-preloader","2025-03-17T22:48:40Z","https://github.com/nuxt/nuxt/issues/30867",0.75471526,["Reactive",3031],{},["Set"],["ShallowReactive",3034],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$focBK2AwueAD_fe3zxY0f9Tec0Nl7mt2_6uWjsUSehfQ":-1},"/nuxt/nuxt/25048"]