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:
- [Vue warn]: Failed to resolve directive: XXX [How to Solve]
- How to open a page in a new window by Vue router
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- [Solved] Vue3 Import element UI error: Uncaught TypeError: Cannot read properties of underfined…
- How to Solve Vue3 Import lodash error
- Vue displays 404 and 500 interfaces according to HTTP response status
- [Solved] Vue beforeeach error: RangeError: Maximum call stack size exceeded at eval (permission.js?223d:39)
- [Solved] Error: Cannot find module ‘@/views/xxx‘ at webpackEmptyContext
- JS native implementation Promise.all
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.
- Vue: initialize failed: invalid DOM [How to Solve]
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- How to Deal With the Error: ‘v-slot’ directive doesn’t support any modifier
- How to Solve @Vue/cli3.X Using less Error
- [Solved] AES encryption in ie11 results in an error (missing ‘)‘
- [Solved] Vue route jumps to the same page many times error: Navigationduplicated
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- [Solved] Uncaught Error: Provide the “history“ option when calling “createRouter()“
- [Solved] Vue cli installation Fastclick Error
- How to Solve Vue loading 3D model Error