Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

vue.js Need help with anchor links

BRCO

Coder
How would I create anchor links with Vue.js

Nav Bar and other links show


Code:
 <li class="nav-item active mr-lg-4" v-if="!loggedIn">
                    <router-link class="nav-link" :to="{ name: 'home' }">Pricing</router-link>
                </li>
                <li class="nav-item active mr-lg-4" v-if="!loggedIn">
                    <router-link class="nav-link" :to="{ name: 'home' }">Features</router-link>

as well as footer I have it as
Code:
<a href="https://domain.com/#pricing">Pricing</a>
<a href="https://domain.com/#Features">Features</a>

They will be on the Home page
Would also need to know what to put the anchor where its should go.
Code:
<section class="features-section py-5">
      <div class="container py-lg-5">
        <h3 class="mb-3 text-center font-weight-bold section-heading">Feature Highlights</h3>
        <div class="row pt-5 mb-5">


Thank you!
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom