I have two different page
about.vue
<template>
<div>
<a class="headers" href="javascript:document.getElementById('steps').scrollIntoView(true);">Availability
</a>
</div>
</template>
home.vue
<template>
<div>
<p>This is the home page</p>
<Services id="services"></Services>
<Steps id="steps"></Steps>
</div>
</template>
<script>
import Steps from 'views/home/steps.vue';
import Services from 'views/home/services.vue';
export default {
components: {
Services,
Steps
},
}
</script>
I have a link on about page where when I click it should take me to the steps sections on the home. How can I achieve this.