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:
- How to Solve Vue3 jweixin-module Error
- React: How to Solve Web3 import error
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- How to Solve VUE Error: Mixed spaces and tabs
- How to Solve VUE Error: Avoid mutating a prop directly since the value will be overwritten …
- How to Solve Vscode save Vue file eslint error
- How to Solve electron import page Error
- How to Solve “Vue is not defined” Error
- How to Solve Vue cli syntax Close Error
- How to Solve Vue loading 3D model Error
- How to Solve Vue3 using deep syntax Error
- Vue Import element-plus Error: Failed to resolve import “element-pluslibtheme-chalkindex.css“ from “src
- How to Solve Vue editor bridge error
- How to Solve Vue route jump repeated clicks Error
- Vue: How to Solve Eslint error
- Vue2.0: How to Use vue3 api to encapsulate Axios
- How to Solve Vue cli configuration SCSS global variable error
- How to Solve Vue add element Install Error
- Vue: How to Solve error avoided redundant navigation to current location: “/xxx”
- How to Solve Vue project Startup Error (Node Upgrade issue)