Vue Error: Failed to resolve directive: scroll-to
Solution:
install Vue-scrollto
1. npm install --save vue-scrollto
2. add the following codes in man.js
3. import VueScrollTo from 'vue-scrollto'
4. Vue.use(VueScrollTo)
Read More:
- [Solved] Vue2.x vue-lazyload Error: Failed to resolve directive: lazy
- [Vue warn]: Failed to resolve directive: XXX [How to Solve]
- [Solved] Vant quoted lazload error: Failed to Resolve directive: lazy
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] Vue3 Error: Failed to resolve component:xxx
- 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
- Vue3.0 Use el-dialog visible Error: ‘.sync‘ modifier on ‘v-bind‘ directive is deprecated. Use ‘v-model:pro
- How to Deal With the Error: ‘v-slot’ directive doesn’t support any modifier
- Failed to resolve async component default: ChunkLoadError: Loading chunk 7 failed
- [Solved] react-quill failed to install error: Could not resolve dependency
- Vue2.0: How to Use vue3 api to encapsulate Axios
- [Solved] Failed to Create Vue Scaffold Error: spawn yarn ENOENT
- Vue: initialize failed: invalid DOM [How to Solve]
- [Vue Run Error] Module build failed: Error: Couldn‘t resolve parser “babylon“
- [Solved] Failed to load plugin ‘vue‘ declared in ‘.eslintrc.js‘: createRequire is not a function
- How to open a page in a new window by Vue router
- [Solved] Vue calls style loader error: Module build failed: CssSyntaxError
- [Solved] Module build failed: Error: Vue packages version mismatch
- [Solved] Vue item packaging error: Failed to load resource: the server responded with a status of 404 (Not Found)