1234567891011121314151617181920212223242526 |
- import App from './App'
- import mf from 'static/js/mf.js'
- import {md, //
- regExp, //验证规则
- ipurl, //ip
- _try_} from 'static/js/public.js'
- // #ifndef VUE3
- import Vue from 'vue'
- Vue.config.productionTip = false
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount()
- Vue.prototype.$mf = { mf,...md,}
- // #endif
- // #ifdef VUE3
- import { createSSRApp } from 'vue'
- export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
- }
- // #endif
|