A
A
AlexCruel2020-03-06 21:08:42
Vue.js
AlexCruel, 2020-03-06 21:08:42

What is the correct way to use router-link?

<a v-on:mouseenter="value1 = true" v-on:mouseleave="value1 = false">
          <img class="test1 test" width="500" height="500" src="../assets/img/1.jpg" />
        </a>


I replace it with => the link with the picture disappears.
Something strange is happening. Wrapped a route and a span with fragments, and everything worked (nothing was lost).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexCruel, 2020-03-07
@AlexCruel

Attribute to="/link".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question