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
If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.
Describe the bug
My app works fine when run with "vite". Running the app generated with "vite build" (either in production or development mode) leads to a TypeError: n.map is not a function, apparently upon loading an async component:
TypeError: n.map is not a function
at n (preload-helper:6)
at Slides.vue:265
Describe the bug
My app works fine when run with "vite". Running the app generated with "vite build" (either in production or development mode) leads to a
TypeError: n.map is not a function
, apparently upon loading an async component:Where
Slides.vue:265
is:The error is followed by the following error:
For some reason, the generated source code has what appears to be a
__VITE_PRELOAD__
placeholder in it, whereas other async loaded components do not:Reproduction
Not sure how to reproduce. Repository is a company project I am trying to migrate to use Vite. Relevant config file:
System Info
vite
version: vite/2.0.0-beta.47 darwin-x64 node-v14.4.0The text was updated successfully, but these errors were encountered: