Replies: 1 comment 3 replies
-
|
I think you can pass in the cancelToken as an option right? You would have to import it separately though import { CancelToken } from 'axios'
// ...
$fetch({
// ...
cancelToken: new CancelToken...
}) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if it's possible to have access to the axios instance/variable used in
$fetch.The idea is to have access to some features like interceptors or CancelToken from axios.
Basically something like this (I edited the js file to test):
Beta Was this translation helpful? Give feedback.
All reactions