Skip to content

Commit 8f34ad5

Browse files
Merge pull request #230 from axios/v1.x
Create a new pull request by comparing changes across two branches
2 parents e5e43f9 + 76dc3e6 commit 8f34ad5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ const axios = require('axios');
153153
console.log(axios.isCancel('something'));
154154
```
155155

156+
For some bundlers and some ES6 linter's you may need to do the following:
157+
158+
```js
159+
import { default as axios } from 'axios';
160+
```
161+
156162
For cases where something went wrong when trying to import a module into a custom or legacy environment,
157163
you can try importing the module package directly:
158164

0 commit comments

Comments
 (0)