From 2b452bc74e8346409f364ae614ad4734d61ed744 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 8 Sep 2017 11:13:09 +0430 Subject: [PATCH] update readme --- README.md | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 66a6236..69142f5 100755 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@

- -

- -

-

Axios Module

+

@@ -31,11 +27,14 @@

+

Axios Module

+

Secure and Easy Axios integration with Nuxt.js. -
📖 Release Notes

+[📖 Release Notes](./CHANGELOG.md) + # Table of Contents - [Features](#features) @@ -45,15 +44,15 @@ Secure and Easy Axios integrat - [Store](#store-nuxtserverinit) - [Store Actions](#store-actions) - [Options](#options) - - [browserBaseURL](#browser-base-url) + - [browserBaseURL](#browserbaseurl) - [credentials](#credentials) - [debug](#debug) - - [proxyHeaders](#proxy-headers) - - [redirectError](#redirect-error) - - [requestInterceptor](#request-interceptor) - - [responseInterceptor](#response-interceptor) + - [proxyHeaders](#proxyheaders) + - [redirectError](#redirecterror) + - [requestInterceptor](#requestinterceptor) + - [responseInterceptor](#responseinterceptor) - [init](#init) - - [errorHandler](#error-handler) + - [errorHandler](#errorhandler) - [Helpers](#helpers) - [Fetch Style Requests](#fetch-style-requests) - [Set Header](#setheadername-value-scopescommon) @@ -71,8 +70,14 @@ Secure and Easy Axios integrat ## Setup +Install with npm: ```bash ->_ yarn add axios # or npm i axios +>_ npm install @nuxtjs/axios +``` + +Install with yarn: +```bash +>_ yarn add @nuxtjs/axios ``` **nuxt.config.js** @@ -85,8 +90,7 @@ Secure and Easy Axios integrat // With options ['@nuxtjs/axios', { credentials: false }], - ], - + ], // You can optionally use global options instead of inline form axios: { credentials: false