Open hamedniroomand opened 9 months ago
if you enabled the nitro feature, the loadingIndicator or spaloadingtemplate are not rendered during the first page load in a non-ssr app.
loadingIndicator
spaloadingtemplate
It's probably because of https://github.com/nuxt/bridge/blob/main/packages/bridge/src/runtime/nitro/renderer.ts#L106
It doesn't matter if you have Vite enabled or not. In any case, your HTML file defined for loading is not loaded.
No response
Is there a solution for this?
Environment
Reproduction
if you enabled the nitro feature, the
loadingIndicator
orspaloadingtemplate
are not rendered during the first page load in a non-ssr app.Describe the bug
It's probably because of https://github.com/nuxt/bridge/blob/main/packages/bridge/src/runtime/nitro/renderer.ts#L106
Additional context
It doesn't matter if you have Vite enabled or not. In any case, your HTML file defined for loading is not loaded.
Logs
No response