Skip to content

Commit 6e1073c

Browse files
committed
add vue-resource as dev-dependency
1 parent 280745f commit 6e1073c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"devDependencies": {
1818
"babel-cli": "^6.11.4",
1919
"babel-preset-es2015": "^6.13.2",
20-
"lodash": "^4.15.0"
20+
"lodash": "^4.15.0",
21+
"vue": "^1.0.26"
2122
}
2223
}

src/http.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
import { forIn } from 'lodash';
2+
import Vue from 'vue';
3+
import VueResource from 'vue-resource';
4+
5+
Vue.use(VueResource)
26

37
export default {
48
/*

0 commit comments

Comments
 (0)