How to Solve Vue3 Import lodash error

Solution: Add the following codes under shims-vue.d.ts folder:

declare module 'lodash'

All codes

/* eslint-disable */
declare module '*.vue' {
  import type { DefineComponent } from 'vue'
  const component: DefineComponent<{}, {}, any>
  export default component
}
	
declare module 'lodash'

Read More: