If I'm using a bundler like Webpack, does it change how I install and use axios?

Responsive Ad Header

Question

Grade: Education Subject: Support
If I'm using a bundler like Webpack, does it change how I install and use axios?
Asked by:
80 Viewed 80 Answers

Answer (80)

Best Answer
(271)
No, you still install axios using npm or yarn. Webpack is a module bundler that packages your code and dependencies for browser deployment. It doesn't replace the need to install dependencies through npm or yarn. Webpack will then bundle axios along with your other code.