12345678910111213141516171819202122232425262728 |
- import App from './App'
- import mf from '@/static/js/mf.js';
- import api from 'api/index.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}
- Vue.prototype.$api = api
- // #endif
- // #ifdef VUE3
- import { createSSRApp } from 'vue'
- export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
- }
- // #endif
|