ibufu / vue2-scrollspy

Scrollspy for Vue2
https://ibufu.github.io/vue2-scrollspy/
MIT License
135 stars 32 forks source link

scrollTo hash on load/reload #14

Closed henrikruscon closed 6 years ago

henrikruscon commented 6 years ago

I'd like to be able to $scrollTo URL hash on load/reload. Seems $scrollTo expects an index and not an element. What's the best approach here? Anyone has this working? ✌️

ibufu commented 6 years ago

I think it and hash route will have a conflict.