Vue Smooth Scroll
Simple vue smooth scroll based on vue-smoothscroll https://github.com/Teddy-Zhu/vue-smoothscroll/blob/master/README.md
Instalation
# install dependencynpm install --save vue-smooth-scroll
// import on your project (less then 1KB gziped)Vue
Usage
Anchor
Custom options
Defaults
duration: 500 // Animation speedoffset: 0 // Offset from element, you can use positive or negative values
Example:
Anchor
Without Browserify or Webpack
Anchor