import App from './App' import Vue from 'vue' // main.js import uView from "uview-ui"; Vue.use(uView); Vue.prototype.removeItem=function(array,item){ for(var i = 0; i < array.length;i++){ if(array[i]===item){ array.splice(i,1) break } } } // #ifndef VUE3 Vue.config.productionTip = false 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