mirror of https://github.com/sundowndev/http.git
26241e5f2c
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0) Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
.vuepress | ||
api | ||
guide | ||
.gitignore | ||
package.json | ||
readme.md | ||
yarn.lock |
readme.md
Introduction
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. Behind the scenes it use ky-universal and Fetch API to make HTTP requests. Please see the migration guide if you are currently using axios module and wish to migrate.
Starting from v2.5.0
, Nuxt.js has built-in support for universal fetch. However, this module provides several advantages:
- The fluent ky API has been extended with enhancements and shortcuts
- Highly customizable options support for
BaseURL
- Automatically proxy cookies and headers when making requests from server side
- Best practices to avoid token sharing when making server side requests
- Easy proxy support to avoid CORS problems and making deployment easier