Answer the question
In order to leave comments, you need to log in
How to enable one component and disable another after clicking on a link in Nuxt.js?
If component2 is included in component1:
<template>
<div>
<app-component2 />
</div>
</template>
<template>
<div>
<app-component3 />
</div>
</template>
<template>
<div>
<nuxt-link to="">Abc</nuxt-link>
</div>
</template>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question