123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import App from './App'
- // #ifndef VUE3
- import Vue from 'vue'
- Vue.config.productionTip = false;
- //组件库
- import uView from '@/uni_modules/uview-ui'
- Vue.use(uView)
- //colorui 自定义顶部nav
- import cuCustom from './colorui/components/cu-custom.vue'
- Vue.component('cu-custom', cuCustom)
- import timeHorizon from './components/timeHorizon'
- Vue.component('time-horizon', timeHorizon)
- import controlItem from "./control/modules/controlItem.vue"
- Vue.component('control-item', controlItem)
- //自定义组件
- import My_listbox from './components/My_listbox';
- Vue.component('My_listbox', My_listbox);
- import My_search from './components/My_search';
- Vue.component('My_search', My_search);
- //挂载接口
- import {
- ApiModel
- } from './utils/api'
- Vue.prototype.$Http = new ApiModel();
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount()
- // #endif
- // #ifdef VUE3
- import {
- createSSRApp
- } from 'vue'
- export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
- }
- // #endif
|