1 Star 0 Fork 1.2K

ryanzl / lilishop商城-移动端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 791 Bytes
一键复制 编辑 原始数据 按行查看 历史
import Vue from "vue";
import App from "./App";
import * as filters from "./utils/filters.js"; // global filter
import uView from "uview-ui";
import store from "./store";
// #ifdef H5
// 在h5页面手动挂载 h5唤醒app插件
import airBtn from "@/components/m-airbtn/index.vue";
let btn = Vue.component("airBtn", airBtn); //全局注册
document.body.appendChild(new btn().$mount().$el);
// #endif
Object.keys(filters).forEach((key) => {
Vue.filter(key, filters[key]);
});
// 引入Vuex
Vue.prototype.$store = store;
Vue.use(uView);
Vue.config.productionTip = false;
// 主题色
Vue.prototype.$mainColor = "#ff3c2a";
// 高亮主题色
Vue.prototype.$lightColor = "#ff6b35";
App.mpType = "app";
const app = new Vue({
...App,
});
app.$mount();
JavaScript
1
https://gitee.com/ryanzl/lilishop-uniapp.git
git@gitee.com:ryanzl/lilishop-uniapp.git
ryanzl
lilishop-uniapp
lilishop商城-移动端
master

搜索帮助