Commit Graph

23 Commits

Author SHA1 Message Date
Matt Isenhower
0d31e2993b Add to axios defaults instead of overwriting them
This change ensures the default "Accept" header specified by axios is retained.
2017-04-06 15:58:57 -07:00
Alex Mokrenko
7262b44373 common js style 2017-03-14 16:59:18 +03:00
Taylor Otwell
31c2623018 update example 2017-03-14 08:31:54 -05:00
Michael Zhang
0cdcc779bf Make axios automatically send the X-CSRF-TOKEN 2017-01-30 12:07:53 -05:00
Taylor Otwell
42973cb4e9 spacing 2016-12-17 10:15:15 -06:00
Taylor Otwell
e78ef3ee42 tweak js file 2016-12-17 10:14:49 -06:00
Taylor Otwell
e3ad1abfcc recompile 2016-12-08 14:15:21 -06:00
Taylor Otwell
60cbf6727c rebuild assets 2016-12-08 14:14:42 -06:00
Martin Bastien
f2981650a1 Make axios compatible with Request::ajax()
It seems the library doesn't send the `X-Requested-With: XMLHttpRequest` header by default, if it's not present `$request->ajax()` always returns false.
2016-12-08 11:45:33 -05:00
Taylor Otwell
7b318939c9 Ship axios instead of vue-resource. 2016-11-03 17:06:06 -05:00
Wayne Harris
76db1006cc Update Vue Resource
Propose updating Vue Resource.

Will require changing the way the X-CSRF-TOKEN header in bootstrap.js

This seems to be compatible with Larval Passport
2016-09-22 10:36:43 +01:00
Adriaan Zonnenberg
7571f2b5b4 Use module name instead of path 2016-08-18 21:46:38 +02:00
Diogo Azevedo
afb3e1c93d Use arrow functions instead of functions 2016-08-12 09:33:17 -03:00
Taylor Otwell
43c2d8ec92 tweak variable 2016-08-11 14:53:58 -05:00
Taylor Otwell
655dbadd1e tweaking default setup 2016-08-11 14:47:29 -05:00
Taylor Otwell
8a9f89d3cf fix wording 2016-08-11 14:33:22 -05:00
Taylor Otwell
54d3f325ad change header 2016-08-10 09:15:28 -05:00
Taylor Otwell
9c0278274b simplify csrf token retrieval. remove package. 2016-08-10 09:14:25 -05:00
Sven Luijten
5833718910 Vue is a library, not a framework 2016-08-07 12:18:10 +02:00
Sven Luijten
727eda71f2 fix missing word in docblock
the word "framework" was missing. I also managed to make the docblock
fit Laravel's style by changing around some of the wording while keeping
the general message the same.
2016-08-06 22:48:40 +02:00
Taylor Otwell
eedac025eb Slim down examples. 2016-07-24 20:19:25 -05:00
Taylor Otwell
e9fe020c0c sample js component 2016-07-23 13:40:49 -05:00
Taylor Otwell
eb289b4170 tweak js bootstrapping 2016-07-23 12:28:02 -05:00