eddiemf / vue-scrollactive

Lightweight and simple to use vue component that highlights menu items as you scroll the page, also scrolling to target section when clicked.
MIT License
542 stars 70 forks source link

Have a question #70

Open ayuka-bg opened 4 years ago

ayuka-bg commented 4 years ago

Great plugin for Vue, but i have trouble with matching URL

I have a page with section

about

prices

URL must be /courses/1/#about but after clicking on item i have only /#about

Nuxt with dynamic routring

ManasMadrecha commented 2 years ago

Don't add / at the start of the to attribute in the nuxt-link; else it will be an absolute link and the URL will start with the attribute value itself.