docs: add preview and theme switcher

master
Sébastien Chopin 2020-10-09 14:00:59 +02:00
parent b98a2af985
commit 94af474cc2
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,9 @@ features:
- Easy proxy support to avoid CORS problems and making deployment easier
---
<img src="/preview.png" class="light-img" />
<img src="/preview-dark.png" class="dark-img" />
HTTP module for Nuxt.js provides a universal way to make HTTP requests to the API backend.
This module is an alternative to [Axios Module](https://github.com/nuxt-community/axios-module). Behind the scenes it use [ky-universal](https://github.com/sindresorhus/ky-universal) and [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) to make HTTP requests. Please see the [migration guide](./guide/migration) if you are currently using axios module and wish to migrate.
@ -22,6 +25,8 @@ Starting from [v2.5.0](https://github.com/nuxt/nuxt.js/releases/tag/v2.5.0), Nux
<list :items="features"></list>
<p class="flex items-center">Enjoy a documentation with light and dark mode:&nbsp;<app-color-switcher class="p-2"></app-color-switcher></p>
## Links
* [ky](https://github.com/sindresorhus/ky)