Empty pathMatch for Correct Path Calculation

# Introduction In this project, you will learn how to fix a bug in the `vue-router-3.1.5` library. The bug is related to the `fillParams` function, which is responsible for filling in the parameters in the URL path. When the `pathMatch` parameter is an empty string, it can affect the calculation of the correct path. ## 👀 Preview ![finished](https://file.labex.io/namespace/718bace8-27a3-4200-a588-dde4041ceeb9/vuejs/project-empty-pathmatch-for-correct-path-calculation/lab-empty-pathmatch-for-correct-path-calculation/assets/effect.gif) ## 🎯 Tasks In this project, you will learn: - How to locate the `fillParams` function in the `vue-router-3.1.5/src/util/params.js` file - How to modify the `fillParams` function to address the issue with empty `pathMatch` - How to rebuild the `vue-router` project with the updated `fillParams` function - How to test the fix by refreshing the browser window and verifying the correct behavior of the address bar ## 🏆 Achievements After completing this project, you will be able to: - Identify and fix bugs in a third-party library - Rebuild a project after making code changes - Test a fix to ensure the desired behavior is achieved

|60 : 00

Click the virtual machine below to start practicing