Commit Graph

33 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
Graham Campbell 36875bb98e Merge branch 'master' into develop 2016-12-29 13:03:32 +00: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
insoutt cc47df31a8 Update mounted instead of ready 2016-11-28 13:58:11 -05:00
Taylor Otwell 7b318939c9 Ship axios instead of vue-resource. 2016-11-03 17:06:06 -05:00
Taylor Otwell ed9a82d6cc fix comment 2016-10-10 07:56:44 -05:00
Erik Telford e0573e67e0 Use mounted instead of ready 2016-10-02 21:33:52 -05:00
Erik Telford 6f9a450f5c Bind to #app instead of body 2016-10-02 21:33:42 -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
Donald Silveira 4ee51720a3 Use const instead of var in Vue instance
Reference to Pull Request #3871
2016-08-12 11:43:47 -03: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 4cc30225ee Tweak stub width. 2016-07-24 23:47:31 -05:00
Taylor Otwell 9659e8db11 Example component. 2016-07-24 23:00:18 -05: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
Taylor Otwell 3f197331b6 bootstrap vue in app.js 2016-07-23 11:39:11 -05:00
Taylor Otwell eb24741ced Default JS file. 2016-07-10 21:07:27 -05:00