CodeZettaInterview Hub

Vue.js · Routing · Mid-Level · Concept

How does Vue Router map paths to views?

Short Interview Answer

Create a router with route records (path, component, children) and install it on the app.

Detailed Explanation

router-view renders matched components; router-link navigates. History vs hash modes.

Did you know this answer?