-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
Description
Environment
------------------------------
- Operating System: Linux
- Node Version: v18.18.0
- Nuxt Version: 3.8.2
- CLI Version: 3.10.0
- Nitro Version: 2.8.0
- Package Manager: npm@9.4.2
- Builder: -
- User Config: devtools
- Runtime Modules: -
- Build Modules: -
------------------------------
Reproduction
https://stackblitz.com/edit/github-sguz8t
Describe the bug
After build, props of elements in a DevOnly
's fallback slot are emptied. For example, after executing npm run generate
on the reproduction and taking a look at .output/public/index.html
, you can see class="red"
turned into class=""
.
Additional context
This issue was not present in Nuxt 3.6, so I think it might be a recent regression.
Logs
No response
huang-julien