-
Notifications
You must be signed in to change notification settings - Fork 245
Migration Guide
Pooya Parsa edited this page Jan 30, 2018
·
3 revisions
BaseURL options and handling have been completely rewritten.
Please refer to the latest docs.
Default prefix is now /
instead of /api
.
You have to explicitly add /api/
in all requests.
credentials
is now disabled by default.
For using old defaults:
{
axios: {
prefix: '/api',
credentials: true
}
}
Default error interceptor removed
All lifecycle functions removed
You can now easily use a plugin to extend axios and add your custom logic there.
Please see Extending Axios section in docs.