File tree 3 files changed +18
-5
lines changed
3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 5
5
"dev" : " gulp watch"
6
6
},
7
7
"devDependencies" : {
8
+ "axios" : " ^0.16.2" ,
8
9
"bootstrap-sass" : " ^3.3.7" ,
9
10
"font-awesome" : " ^4.7.0" ,
10
11
"gulp" : " ^3.9.1" ,
16
17
"laravel-elixir-webpack-official" : " ^1.0.2" ,
17
18
"lodash" : " ^4.16.2" ,
18
19
"moment" : " ^2.18.1" ,
19
- "vue" : " ^2.0.1" ,
20
- "vue-resource" : " ^1.3.4"
20
+ "vue" : " ^2.0.1"
21
21
}
22
22
}
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ window.jQuery = window.$ = require('jquery')
4
4
require ( 'bootstrap-sass' )
5
5
6
6
import Vue from 'vue'
7
- import VueResource from 'vue-resource '
7
+ import axios from 'axios '
8
8
9
9
import PrimeiroComponente from './app/components/primeiro-componente.vue'
10
10
import VdUsers from './app/users/main.vue'
11
11
12
- Vue . use ( VueResource )
12
+ Vue . prototype . $http = axios
13
13
14
14
new Vue ( {
15
15
el : '#app' ,
Original file line number Diff line number Diff line change @@ -321,6 +321,13 @@ aws4@^1.2.1, aws4@^1.6.0:
321
321
version "1.6.0"
322
322
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
323
323
324
+ axios@^0.16.2 :
325
+ version "0.16.2"
326
+ resolved "https://registry.yarnpkg.com/axios/-/axios-0.16.2.tgz#ba4f92f17167dfbab40983785454b9ac149c3c6d"
327
+ dependencies :
328
+ follow-redirects "^1.2.3"
329
+ is-buffer "^1.1.5"
330
+
324
331
babel-code-frame@^6.26.0 :
325
332
version "6.26.0"
326
333
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
@@ -1777,7 +1784,7 @@ debug@2.6.8:
1777
1784
dependencies :
1778
1785
ms "2.0.0"
1779
1786
1780
- debug@2.X, debug@^2.2.0, debug@^2.6.8 :
1787
+ debug@2.X, debug@^2.2.0, debug@^2.4.5, debug@^2. 6.8 :
1781
1788
version "2.6.9"
1782
1789
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
1783
1790
dependencies :
@@ -2232,6 +2239,12 @@ flatten@^1.0.2:
2232
2239
version "1.0.2"
2233
2240
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
2234
2241
2242
+ follow-redirects@^1.2.3 :
2243
+ version "1.2.4"
2244
+ resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.2.4.tgz#355e8f4d16876b43f577b0d5ce2668b9723214ea"
2245
+ dependencies :
2246
+ debug "^2.4.5"
2247
+
2235
2248
font-awesome@^4.7.0 :
2236
2249
version "4.7.0"
2237
2250
resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133"
You can’t perform that action at this time.
0 commit comments