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
run yarn dev, works as expected with .then(Comp => Comp.default)
remove .then(Comp => Comp.default), [Vue warn]: Component is missing template or render function. will be logged from @vue/server-renderer, and no route content will be server rendered, and client side route will do the job
What is expected?
Without .then(Comp => Comp.default), the async route on sever should also work
What is actually happening?
Inconsistent between client and server
The text was updated successfully, but these errors were encountered:
Version
4.0.0-beta.12
Reproduction link
https://github.com/JounQin/serverless-study/blob/master/src/router.ts#L11
Steps to reproduce
yarn dev
, works as expected with.then(Comp => Comp.default)
.then(Comp => Comp.default)
,[Vue warn]: Component is missing template or render function.
will be logged from@vue/server-renderer
, and no route content will be server rendered, and client side route will do the jobWhat is expected?
Without
.then(Comp => Comp.default)
, the async route on sever should also workWhat is actually happening?
Inconsistent between client and server
The text was updated successfully, but these errors were encountered: