Closed wuelcas closed 6 years ago
New version [1.2.0] published on NPM with this new feature.
I am getting error in a react typescript project my packages are "axios": "^0.19.0", "axios-progress-bar": "^1.2.0",
ERROR in /Users/jasmine/jas/work/node_modules/axios-progress-bar/dist/index.js Module not found: Error: Can't resolve 'axios' in '/Users/jasmine/jas/work/node_modules/axios-progress-bar/dist'
I made an axios custom instance and the progress bar doesn't disappear when the request ends. Looking at the source code, you are not handling custom instance, just the normal
axios
instance.