Complete the code to import the RouterView component in Vue.
import { [1] } from 'vue-router';
RouterLink instead of RouterView.The RouterView component is imported from vue-router to render matched components.
Complete the template to render the matched route component using RouterView.
<template>
<div>
<[1] />
</div>
</template>RouterView with uppercase letters in the template.router-link instead of router-view.In Vue templates, the router-view tag is used to render the matched route component.
Fix the error in the script setup to correctly import RouterView.
<script setup> import { [1] } from 'vue-router'; </script>
The correct import name is RouterView with exact casing from vue-router.
Fill both blanks to create a standalone Vue component that renders RouterView.
<template> <[1] /> </template> <script setup> import { [2] } from 'vue-router'; </script>
router-link and router-view.The template uses router-view tag to render the matched component, and the script imports RouterView from vue-router.
Fill all three blanks to define a Vue component that imports RouterView, uses it in template, and exports default.
<template> <[1] /> </template> <script> import { [2] } from 'vue-router'; export default { components: { [3] } }; </script>
The template uses router-view tag, the script imports RouterView, and registers it in components for use.