Which project does this relate to?#
Router/Start
Describe the bug#
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.
This is using start and router versions 1.132.51 and NPM.
I have also tried with Nitro 3 and I see the same behaviour.
I have also tried changing some of the spa mode prerender settings, and haven't seen it make a difference (eg different mask path).
Your Example Website or App#
https://github.com/clawrence121/tss-spa-mode-not-rendering-shell
Steps to Reproduce the Bug or Issue#
- Clone example repo
- Run
npm install
- Run
npm run build, _shell.html is generated
- Modify
vite.config.ts to enable either Nitro v2 or v3 plugins
- Run
npm run build, no _shell.html is generated
Expected behavior#
_shell.html to be generated when spa mode is enabled with Nitro.
Screenshots or Videos#
Platform#
- Router / Start Version: 1.132
- OS: MacOS 15.6.1
- Bundler: Vite
- Bundler Version: 7.1.7
Additional context#
No response
I am having the same problem, did this issue get resolved?