-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat(nuxt): update to [email protected]
#6210
Conversation
β Deploy Preview for nuxt3-docs canceled.
|
6273c7d
to
0d1b718
Compare
649ae76
to
79cec50
Compare
TODO items from my perspective:
Then I think it's ready to leave draft. |
|
vue-bundle-renderer
[email protected]
Awesome work @danielroe @pi0 ππ» π Thank u a lots! We'd waited for it for a long time. When will we have documentation about how to customize |
@dungonfq The ability to customise the renderer options was removed shortly before merge for faster iteration. I will update the description. |
@danielroe could u give me where & how to use these new options At first, I thought I can config them in nuxt.config.ts. |
It is not yet possible. |
Thank @danielroe , my last confusion: So, after u merge this PR + nuxt-contrib/vue-bundle-renderer#30. The prefetch issue will be fixed automatically, right? What I expected is all my modules weren't prefetched unnecessarily. Then when I load a page, only the required components/modules, which the page is using, will be fetched. |
@dungonfq I don't know what you are asking, but if you are experiencing a new issue, please check that it is not resolved on the edge channel, and then open a new issue and I'll look into it π |
Hello @danielroe . |
@kosmeln Yes, it should have resolved it. (But see nuxt/nuxt#13778.) If you are experiencing a bug, please raise a new issue with a reproduction. π |
π Linked issue
resolves nuxt/nuxt#13778, resolves nuxt/nuxt#13800, resolves nuxt/nuxt#14176
β Type of change
π Description
This PR migrates fully to the vite manifest format, normalizing the webpack manifest at build time rather than runtime.
Finally, we run the actual renderer for SPA mode (but once only, with the result then reused for future requests), which avoids us having to rewrite renderer code within nuxt.
Removed from this PR for future iteration: add a nitro hook (
nuxt:render:options
) which allows to customiseshouldPrefetch
,shouldPreload
andmanifest
.π Checklist