@nuxtjs/axios
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="2.0.1"></a> | ||
## [2.0.1](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.0.0...@nuxtjs/axios@2.0.1) (2017-06-09) | ||
### Bug Fixes | ||
* **axios:** ensure store exists before injecting ([23ad7b7](https://github.com/nuxt/modules/commit/23ad7b7)) | ||
<a name="2.0.0"></a> | ||
@@ -8,0 +19,0 @@ # [2.0.0](https://github.com/nuxt/modules/compare/@nuxtjs/axios@1.0.2...@nuxtjs/axios@2.0.0) (2017-06-09) |
{ | ||
"name": "@nuxtjs/axios", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -132,4 +132,6 @@ import Axios from 'axios' | ||
app.$axios = axios | ||
store.$axios = axios | ||
ctx.$axios = axios | ||
if(store) { | ||
store.$axios = axios | ||
} | ||
@@ -136,0 +138,0 @@ // token helper for authentication |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12390
160