[Solved] Vue Error: Failed to resolve directive: scroll-to

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: