mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
chore(docs): fix contribution guide (#5935)
chore(docs): fix contribution guide (#5935)
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ Please update the [docs](README.md) accordingly so that there are no discrepanci
|
||||
## Developing
|
||||
|
||||
- `npm run test` run the jasmine and mocha tests
|
||||
- `npm run build` run webpack and bundle the source
|
||||
- `npm run build` run rollup and bundle the source
|
||||
- `npm run version` prepare the code for release
|
||||
|
||||
Please don't include changes to `dist/` in your pull request. This should only be updated when releasing a new version.
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
import axios from '../index';
|
||||
import axios from '../index.js';
|
||||
|
||||
const URL = 'http://127.0.0.1:3000/api';
|
||||
const BODY = {
|
||||
@@ -17,4 +17,4 @@ axios.get(URL, { params: BODY })
|
||||
// POST
|
||||
axios.post(URL, BODY)
|
||||
.then(handleSuccess)
|
||||
.catch(handleFailure);
|
||||
.catch(handleFailure);
|
||||
|
||||
Reference in New Issue
Block a user