在文件目录下执行安装命令:
npm add axios
在文件中引入
react中axios使用
原文:https://www.cnblogs.com/nothingness/p/13216567.html