Quiz: Routing and URLs
Please enjoy this self-check quiz to help you identify key concepts, points, and techniques discussed in this section.
What does "routing" refer to?
What modes can be used to manage URLs in a Vue.js app?
Where are the route definitions found in a standard Vue.js project created with the Vue CLI webpack template?
/src/routes.js/src/router.js/src/App.vue/router.js/src/router.js file contains the route definitions.Which of the following properties of a route can be used with or router.push()?
namechildrencomponentpathpath and name properties can be used to create a link with or router.push().In a module import statement using the default webpack configuration, what does the @ symbol stand for?
emailrepositorysrc/components@ symbol stands for src/ in the path to a file.Nested URLs are defined using which property of the route object?
nestedbabieschildrensiblingschildren property defines views nested in a parent view.Which parameters are defined in the following route path: '/posts/:slug/page/:pageNum'
slugpagepageNumpostsslug and pageNum.What do we need to do to add a new route to our application?
What are the advantages of using named routes?
Visit Quiz Online
The quiz on this page has been removed from your PDF or ebook format. You may take the quiz by visiting this book online.