|
@@ -4,6 +4,7 @@ import store from "./store/index";
|
|
|
// 路由
|
|
|
import router from "./router";
|
|
|
import axios from "@/utils/axios";
|
|
|
+import common from "@/utils/common";
|
|
|
import API from "@/api";
|
|
|
// 共通filters
|
|
|
import * as filters from "./filters";
|
|
@@ -19,6 +20,7 @@ window.$_http = axios;
|
|
|
Vue.prototype.$bus = new Vue();
|
|
|
Vue.prototype.$_http = axios;
|
|
|
Vue.prototype.$_API = API;
|
|
|
+Vue.use(common)
|
|
|
|
|
|
Vue.component("VanButton", Button);
|
|
|
Vue.component("VanImage", Image);
|