Skip to content

Commit

Permalink
docs: add note about nuxt 3 compatibility (#572)
Browse files Browse the repository at this point in the history
Co-authored-by: pooya parsa <[email protected]>
  • Loading branch information
Intevel and pi0 committed Apr 4, 2022
1 parent 5a0b7ff commit d8c99e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/content/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ features:
- Auto retry requests with axios-retry
---

<alert type="warning">

Axios module supports Nuxt 2. Nuxt 3 users can use the new isomorphic [$fetch API](https://v3.nuxtjs.org/docs/usage/data-fetching/#usefetch) ([migration guide](https://v3.nuxtjs.org/docs/migration/component-options#isomorphic-fetch)).

</alert>

<img src="/preview.png" class="light-img" width="1280" height="640" alt="Nuxt Axios"/>
<img src="/preview-dark.png" class="dark-img" width="1280" height="640" alt="Nuxt Axios"/>

Expand Down

3 comments on commit d8c99e5

@toniengelhardt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about Bridge?

@pi0
Copy link
Member

@pi0 pi0 commented on d8c99e5 Apr 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On bridge axios is semi-compatible (proxy with nitro not working for instance). But still I would recommend to migrate for bridge as well.

@toniengelhardt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏🏽

Please sign in to comment.