Nitro v2 plugin causing _shell.html to not build in spa mode
Hi there, I'm having issues with SPA mode then using the Nitro plugin.
When the plugin is enabled, no _shell.html file is generated, but disabling it _shell.html is generated as expected.
I have put up an example repo here, the base is generated from
npm create @tanstack/start@latest
https://github.com/clawrence121/tss-spa-mode-not-rendering-shell
This is using start and router versions 1.132.51
and NPM.GitHub
GitHub - clawrence121/tss-spa-mode-not-rendering-shell
Contribute to clawrence121/tss-spa-mode-not-rendering-shell development by creating an account on GitHub.
4 Replies
deep-jade•2d ago
can you please create a github issue for this so we can properly track this?
also, did you try nitro3?
genetic-orangeOP•2d ago
I can!
I tried nitro 3 and it wouldn't build at all, I'll include in the GH issue
Thanks @Manuel Schiller here's the gh issue https://github.com/TanStack/router/issues/5426
I was able to get nitro v3 building, but same issue as v2
deep-jade•2d ago
k
fascinating-indigo•19h ago
@c.lawrence121 Have you tried enabling prerendering? That’s what worked for me