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
I took the example at https://github.com/vitejs/vite/tree/main/packages/playground/ssr-vue, removed the dep-import-type dependency, added vite as a dependency. then modified the import of the Foo component to chain it's loading to an unresolved promise when rendering client-side.
The intention is to lazy-load/hydrate some components client-side, so any tips on how to achieve this would be appreciated.
In any case, I think this is a significant bug as it would cause errors when navigating before components are able to be loaded.
The text was updated successfully, but these errors were encountered:
Version
3.1.0-beta.3
Reproduction link
https://github.com/danelowe/vite-ssr-lazy-component
Steps to reproduce
npm run dev
What is expected?
Displays the about page with no error
What is actually happening?
Error:
In. 3.1.0-beta.3
I took the example at
https://github.com/vitejs/vite/tree/main/packages/playground/ssr-vue
, removed thedep-import-type
dependency, addedvite
as a dependency. then modified the import of theFoo
component to chain it's loading to an unresolved promise when rendering client-side.The intention is to lazy-load/hydrate some components client-side, so any tips on how to achieve this would be appreciated.
In any case, I think this is a significant bug as it would cause errors when navigating before components are able to be loaded.
The text was updated successfully, but these errors were encountered: