\n\n\n
\n

Hello WeLoveDevs!

\n

\n Home of devs\n Who are we?\n

\n \n \n \n
\n```","suggestedAnswer":[{"@type":"Answer","text":"``"},{"@type":"Answer","text":"``"},{"@type":"Answer","text":"`
`"},{"@type":"Answer","text":"``"}],"acceptedAnswer":[{"@type":"Answer","text":"``"}]}}

Question from the Vue.js test

Create a routing system using the vue-router package

Easy

If one wants to create a routing system using the vue-router package, in the code below, what should <!-- ????????? --> be replaced with to make the application's routing work?

<script src="https://unpkg.com/vue@3"></script>
<script src="https://unpkg.com/vue-router@4"></script>

<div id="app">
  <h1>Hello WeLoveDevs!</h1>
  <p>
     <router-link to="/">Home of devs</router-link>
     <router-link to="/about">Who are we?</router-link>
  </p>
 
 <!-- ????????? -->
 
</div>
Author: DamienStatus: PublishedQuestion passed 114 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!