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