Languages

React - how to check react-router version?

0 points
Asked by:
Olivier-Myers
334

Do you know how to check the version of react-router in my project?

2 answers
0 points
Answered by:
Olivier-Myers
334

I found the solution: 

Every package version is stored in the package.json file.

Go to: projectPath/package.json and search for "react-router"

React - react-router version check
React - react-router version check
0 comments Add comment
0 points
Answered by:
Olivier-Myers
334

You can also use npm: 

npm list --depth=0

The above command will return a list of locally installed packages (without displaying their dependencies).

0 comments Add comment
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join