You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have looked at the docs, but cannot find how to work jumping to a named anchor, classic HTML style. I do not wish to change my route view - just jump from one part of the body text to the other via an anchor tag.
<a href="#about">About</a>
Further down the body will be .. <span name="about">business as usual</span>
This is simple stuff, but obviously if this is not being mapped by my router it will cancel it from being appended and jumping to the relevant section.
The text was updated successfully, but these errors were encountered:
This doesn't have anything to do with vue-router. The name attribute only works when jumping to a named anchor. If you wish to jump to a span, you'll have to use id, which is preferred anyway in HTML5. See this.
I have looked at the docs, but cannot find how to work jumping to a named anchor, classic HTML style. I do not wish to change my route view - just jump from one part of the body text to the other via an anchor tag.
<a href="#about">About</a>
Further down the body will be ..
<span name="about">business as usual</span>
This is simple stuff, but obviously if this is not being mapped by my router it will cancel it from being appended and jumping to the relevant section.
The text was updated successfully, but these errors were encountered: