allow interacting with build manifest via hook
See original GitHub issueEnvironment
- Operating System:
Darwin
- Node Version:
v16.16.0
- Nuxt Version:
3.0.0-rc.6
- Package Manager:
npm@8.11.0
- Builder:
webpack
- User Config:
modules
,speedkit
,vite
,webpack
,build
- Runtime Modules:
()
- Build Modules:
-
Reproduction
Define a hook call to render:resourcesLoaded
in a module.
Describe the bug
The hook is not fired.
Additional context
I had a look and found out that this hook is defined in the scheme of Nuxt 3.
https://github.com/nuxt/framework/search?q=render%3AresourcesLoaded
But unfortunately there is no call.
Nuxt 2 equivalent: https://github.com/nuxt/nuxt.js/blob/b0147772ec98568b28ae80a7e97eca3381aa6a4e/packages/vue-renderer/src/renderer.js#L133
I hope this one is just missing at the moment 🙂
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
App Manifest Overview - Android Developers
If you're using Android Studio to build your app, the manifest file is created for ... For more information, see Allow Other Apps...
Read more >docker manifest - Docker Documentation
The manifest command interacts solely with a Docker registry. Because of this, it has no way to query the engine for the list...
Read more >Create and configure apps with manifests - Slack API
Use our app manifest system to create, configure, and clone Slack apps with ease. ... Manifests are written in YAML or JSON using...
Read more >Use an Input Manifest File - Amazon SageMaker
Each line in an input manifest file is an entry containing an object, ... You must give Amazon SageMaker access to the data...
Read more >Web Application Manifest - W3C
Additionally, the manifest allows a developer to "scope" a web application to a URL. This restricts the URLs to which the manifest is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m currently rethinking/reworking vue-bundle-renderer so will keep thinking about this.
Is this something you need to do on a per-request basis or could we do this at build/generate time? (Feels like the latter might be more performant.)
We provide in
nuxt-speedkit
the option to remove the assets in theclient
/modern
manifest. Thus the loading of unnecessary chunks was reduced.The goal was to keep the number of initial scripts small.
Real example:
Without:
With:
Now it would be interesting to know 🙂 If there is something similar with
nuxt@3
, or we don’t run into the problem anymore.