81 Commits

Author SHA1 Message Date
Nikolay Nizruhin
231da4a6e9
Remove sass variables 2018-02-12 00:52:17 +02:00
Taylor Otwell
224f9949c7 use mix env variables 2018-01-26 09:52:02 -06:00
Taylor Otwell
3926520f73 update example component to bs4 2018-01-26 09:45:48 -06:00
Graham Campbell
8067ed6dd3 Merge branch 'master' into develop 2017-12-26 12:32:52 +00:00
Taylor Otwell
aad59400e2
Update bootstrap.js 2017-12-23 20:08:55 -06:00
Przemek Dziewa
a38c115f4b Update Echo options for pusher in bootstrap.js 2017-12-23 23:41:57 +01:00
Taylor Otwell
cd53623249 compile 2017-12-20 17:02:59 -06:00
Taylor Otwell
c0cda4f81f fix 2017-12-20 16:58:36 -06:00
Mohamed Said
4be558ac65 switch to bootstrap4 2017-12-20 21:14:56 +02:00
Talv Bansal
814e0f22e0 Update example component to follow the vue.js style guide 2017-10-09 14:34:20 -04:00
Kevin G
0657a2ba25 Fixes "Cannot resolve directory'" in PhpStorm
This fixes the annoying error shown on the import line

Cannot resolve directory 'node_modules' less... (Strg+F1) 
This inspection checks references to files and directories.
2017-08-11 17:13:08 +02:00
Jeffrey Way
4569aebc18 Add quotes
Sass compilers can sometimes be weird if import urls like this aren't quoted. They'll spit out junk like

```
Error: Encountered invalid @import syntax.
```

Anyways, pretty common practice to use quotes for all imports. I mean, seriously, how much more do you want me to write for a dang PR that adds a pair of quotes? I've got work to do, gah.
2017-06-06 09:49:05 -04:00
Taylor Otwell
1155245a59 formatting. compile 2017-05-10 09:03:25 -05:00
Arjan Weurding
5b8401e178 Make window.Laravel.csrfToken unneccesarry
I don't like the fact we have to add 
```
<script>
        window.Laravel = {!! json_encode([
            'csrfToken' => csrf_token(),
        ]) !!};
</script>
```
To have it working, when the docs suggest adding only the meta tag. This will get the token from the meta tag.
2017-05-10 15:03:33 +02:00
Taylor Otwell
d905b2e7be only load libraries if present 2017-04-17 15:31:48 -05:00
Taylor Otwell
17ec5c51d6 Move the location of Vue inclusion. 2017-04-17 15:30:36 -05:00
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
Taylor Otwell
0cb107c84c move fontsls 2017-02-03 15:49:27 -06:00
Ahmed M. Ammar
2cc5f349d4 Add font path variable 2017-02-03 18:21:04 +02: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
Carlos M. Trinidad
6e8d629ec0 Remove space in _variables.scss 2016-10-16 16:53:26 -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
Ramon
d829d7553e Rename variables.scss to _variables.scss
We don't need variables.scss to be compiled into CSS, because it's being imported into app.scss (and get's compiled there). Added an underscore so the Sass compiler ignores this file, which is a common practice with Sass partials (see http://sass-lang.com/guide @ Partials).
2016-09-14 11:19:50 +02: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
7bb44a2542 Tweak variables. 2016-07-24 20:07:16 -05:00