Commit Graph

425 Commits (master)

Author SHA1 Message Date
Pooya Parsa 533cf4ee2c refactor: a better and more stable way to specify baseURL and browserBaseURL options
BREAKING CHANGE: prefix should be set to `/api` for backward compability. refer to new docs.
2018-01-16 20:45:12 +03:30
Pooya Parsa 8e0ee32757 refactor: index ~> module 2018-01-16 19:48:22 +03:30
Pooya Parsa 9b0834898d misc: update to nuxt 1.x 2018-01-16 19:40:27 +03:30
Pooya Parsa f71fa8d2c4 chore(release): 4.5.2 2017-12-29 20:13:56 +03:30
Antério Vieira ab312a3169 chore: unused variables removed (#68) 2017-12-29 20:12:19 +03:30
Pooya Parsa db88012a0b chore(release): 4.5.1 2017-12-29 19:21:42 +03:30
Pooya Parsa c7e403ddcc chore: update dependencies 2017-12-29 19:21:32 +03:30
Pooya Parsa 29798e3aa2
chore(release): 4.5.0 2017-11-16 22:37:33 +03:30
Pooya Parsa 37d970a0d4
chore: upgrade dependencies 2017-11-16 13:43:48 +03:30
Iman Tabrizian 5449939208 fix: link to the proxy page 2017-10-26 21:45:06 +03:30
Sam Garson 34670079fa Update readme with how to use in component methods
The readme isn't super clear on how to use the module outside of the specific cases that are mentioned in the _Usage_ section. This just adds a small example of using it in the component `methods`.
2017-10-26 21:38:43 +03:30
James Lee bbee76048c added proxy env url usage example 2017-10-20 21:07:25 +03:30
Paul Schmidt f1e95ff4b5 feat: disable sefault error handler (#44)
* Override the default error handler

Otherwise there is the possibility that they are conflicting with each other.
Also added a option, where you can disable the errorHandler at all (for example if you work with the responseInterceptor)

* Changed option name and added the documentation.

Renamed the option to `disableDefaultErrorHandler`.
Added documention for the new option.
2017-10-12 11:51:39 +03:30
Pooya Parsa 06f20a6a12 fix link
resolves #36
2017-09-30 20:29:15 +03:30
Pooya Parsa 80a5904051 fix toc 2017-09-30 20:03:46 +03:30
Pooya Parsa f9f26f6ff2 chore(release): 4.4.0 2017-09-30 20:02:49 +03:30
Pooya Parsa 7c13655ef4 feat(proxyHeader): proxyHeadersIgnore option
#39
2017-09-30 20:02:44 +03:30
Pooya Parsa b1fb704435 chore(release): 4.3.1 2017-09-29 02:24:27 +03:30
Pooya Parsa bba6c0f4df chore(package): upgrade deps 2017-09-29 02:24:10 +03:30
Jonas Lomholdt 1a0c600ecc Update README.md
Fix errorHandler example
2017-09-26 23:58:14 +03:30
Pooya Parsa 50f6faacf4 chore(release): 4.3.0 2017-09-12 03:20:31 +04:30
Pooya Parsa dadd7d8e2b feat: don't rely on hostname for default values 2017-09-12 03:20:18 +04:30
Pooya Parsa 81106bf7d7 simpilify docs 2017-09-08 11:28:43 +04:30
Pooya Parsa 0d175c64dc chore(release): 4.2.1 2017-09-08 11:20:55 +04:30
Pooya Parsa 2a0b163e27 Merge branch 'master' of github.com:nuxt-community/axios-module 2017-09-08 11:20:46 +04:30
Pooya Parsa 9cf3944e44 chore(release): 4.2.0 2017-09-08 11:20:31 +04:30
Pooya Parsa f58d973920 Merge pull request #24 from uptownhr/master
added responseInterceptor example
2017-09-08 11:19:55 +04:30
Pooya Parsa 3c09d645d5 update readme 2017-09-08 11:18:51 +04:30
Pooya Parsa ff5cc755ad update readme 2017-09-08 11:14:47 +04:30
Pooya Parsa 2b452bc74e update readme 2017-09-08 11:13:09 +04:30
Pooya Parsa 6305598909 update readme 2017-09-08 11:04:31 +04:30
Pooya Parsa 856a611c5c docs: toc 2017-09-08 10:43:35 +04:30
Pooya Parsa c70749a6c5 feat: pass ctx to errorHandlers
#25
2017-09-08 10:35:55 +04:30
James Lee 9dd5de3329 added responseInterceptor example 2017-09-06 23:40:01 -07:00
Pooya Parsa 148f8b8e73 responseInterceptor test 2017-09-06 23:23:54 +04:30
Pooya Parsa 49a8eab840 fix jest coverage
unwanted cov codes were adding to nuxt.config.js when options serialized
2017-09-06 23:23:45 +04:30
Pooya Parsa 8c2795c7b3 chore(release): 4.1.1 2017-09-06 23:11:09 +04:30
Pooya Parsa 2f04e3020f fix: delete accept header
fixes #12
2017-09-06 23:11:03 +04:30
Pooya Parsa 9830f4b731 chore(release): 4.1.0 2017-09-06 23:05:51 +04:30
Pooya Parsa 356b31f032 fix: inject $axios in current ctx
#18
2017-09-06 23:05:20 +04:30
Pooya Parsa bcd47102c1 perf: move init outside of plugin 2017-09-06 23:02:55 +04:30
Pooya Parsa 88961d462c tests for init 2017-09-06 22:59:07 +04:30
Pooya Parsa fd2bf18185 add example for init 2017-09-06 22:34:08 +04:30
Pooya Parsa 8e0c0e8c4c feat: add options.init
#21
2017-09-06 22:30:58 +04:30
Pooya Parsa e9e225f142 add notes for proxyHeaders option
@homerjam #20
2017-09-06 22:19:34 +04:30
Pooya Parsa df1a5829e8 chore(release): 4.0.1 2017-09-04 21:05:09 +04:30
Pooya Parsa a36a886a77 fix(package): make nuxt devDependency
needed for nuxt-start
2017-09-04 21:05:00 +04:30
Pooya Parsa c441c0bfd9 chore(release): 4.0.0 2017-08-30 22:22:08 +04:30
Pooya Parsa b16d6bf8a3 feat: responseInterceptor and errorHandler 2017-08-30 22:20:43 +04:30
Pooya Parsa 61432a1916 feat: better baseURL message 2017-08-30 21:44:18 +04:30