[Solved] Vue3.2 Error: Object.fromEntries is not a function

vue3.2 Error: Object.fromEntries is not a function


reason: there is a problem with the browser version. It is the Object.fromEntries that supports ES10.
Solution: install polyfill-object.fromentries

npm i polyfill-object.fromentries
import ‘polyfill-object.fromentries’;(Import in main.ts)

Read More: