lcny-admin-mobile-vue/src/main.js

20 lines
529 B
JavaScript

import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import uView from "uview-ui";
Vue.use(uView);
import {http,getFullUrl} from '@/api/index.js'
import store from './store/index.js'
Vue.config.productionTip = false
import ynSelectInputList from "@/components/yn-select-input-list/yn-select-input-list.vue"
Vue.component('ynSelectInputList', ynSelectInputList)
Vue.prototype.$http = http
Vue.prototype.$getFullUrl = getFullUrl
App.mpType = 'app'
const app = new Vue({
store,
...App
})
app.$mount()