Solution:
import Vue from "vue";
Vue.use(Lazyload);
Done!
Read More:
- [Solved] Vue2.x vue-lazyload Error: Failed to resolve directive: lazy
- [Vue warn]: Failed to resolve directive: XXX [How to Solve]
- [Solved] Vue Error: Failed to resolve directive: scroll-to
- Vant Applet: The Usage of Vant-dialog in Before-close
- Vue3.0 error: Failed to resolve component el-form-item (el element to be unable to be displayed)
- Vue Import element-plus Error: Failed to resolve import “element-pluslibtheme-chalkindex.css“ from “src
- [Solved] Uniapp project use vant icon Error: (module build failed from./node_modules/postcss loader/SRC/index)
- [Solved] vant-weapp ui SwipeCell Error: Ignored attempt to cancel a touchmove event with cancelable=false…
- Failed to resolve async component default: ChunkLoadError: Loading chunk 7 failed
- [Solved] vue Project Error: react lazy eslint error Parsing error: Unexpected token import
- How to Deal With the Error: ‘v-slot’ directive doesn’t support any modifier
- [Solved] react-quill failed to install error: Could not resolve dependency
- [Solved] Vue3 Error: Failed to resolve component:xxx
- The toast light prompt of vant in Vue reports an error
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] Vue-cli Error: Module not found: Error: Can‘t resolve ‘vue-router ‘
- [Solved] Error:The above error occurred in one of your React components & A component suspended while respondi
- [Vue Run Error] Module build failed: Error: Couldn‘t resolve parser “babylon“
- Vue3.0 Use el-dialog visible Error: ‘.sync‘ modifier on ‘v-bind‘ directive is deprecated. Use ‘v-model:pro
- [Solved] Npm install Error: verbose stack Error: unable to resolve dependency tree