You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Config: build, css, components, runtimeConfig, typescript
Runtime Modules: -
Build Modules: -
Default Nuxt 3 config with universal rendering
Reproduction
create a basic Vue component with only some html and no script or style
include the component in a layout
Describe the bug
When looking into the final build I expect the component html to be serverside rendered and only included in the server/index.mjs once. Currently the html from a component is indeed included in the server/index.mjs but also a chunk is loaded in the client which includes the same html dom. Of course we don't want that duplication as it's bad for performance.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
This is how Vue SSR hydration normally works. However, we are looking to add some new enhancements here, particularly with the introduction of server components, which won't have a corresponding chunk in client-side JS: nuxt/framework#5688.
Environment
Darwin
v16.15.0
3.0.0-rc.8
yarn@1.19.2
vite
build
,css
,components
,runtimeConfig
,typescript
-
-
Reproduction
Describe the bug
When looking into the final build I expect the component html to be serverside rendered and only included in the server/index.mjs once. Currently the html from a component is indeed included in the server/index.mjs but also a chunk is loaded in the client which includes the same html dom. Of course we don't want that duplication as it's bad for performance.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: