Question 14
Read the following code carefully and answer the given sub questions:
file1: router/index.js
file2: ProfileComponent.vue
What should be filled in at Line A to correctly read the username from the URL?
Read the following code carefully and answer the given sub questions:
file1: router/index.js
file2: ProfileComponent.vue
What should be filled in at Line A to correctly read the username from the URL?
Correct answer
The video solution to this question is being recorded and will play here. Until then, the answer key is above.
Question 14 of 15 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term (Modern Application Development Ii 14 Aug 26). It carries 3 marks.