Skip to content

Commit

Permalink
Merge pull request #230 from axios/v1.x
Browse files Browse the repository at this point in the history
Create a new pull request by comparing changes across two branches
  • Loading branch information
GulajavaMinistudio authored Oct 30, 2024
2 parents e5e43f9 + 76dc3e6 commit 8f34ad5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ const axios = require('axios');
console.log(axios.isCancel('something'));
```

For some bundlers and some ES6 linter's you may need to do the following:
```js
import { default as axios } from 'axios';
```
For cases where something went wrong when trying to import a module into a custom or legacy environment,
you can try importing the module package directly:
Expand Down

0 comments on commit 8f34ad5

Please sign in to comment.