The problem with vue failed to resolve async component default

demand loading component is used in vue routing:
const album = resolve = > import (". / album"). Then (m = > resolve (m))

works fine on browsers and most phones, but reports it on a small number of older phones

failed to resolve async component default: syntaxError unexpected token = >

There is an error of

, and this is only the case with individual routes. other routes do not report errors on old mobile phones, and I haven"t found any problems after checking them for a long time. There seems to be no problem with webpack configuration. Why do individual routes report such errors? What may be the cause of this, please?

Apr.12,2022

this may be an unrecognized arrow function. Try function instead.

Menu