|
@ -1,20 +1,23 @@ |
|
|
import App from './App' |
|
|
import App from './App' |
|
|
|
|
|
|
|
|
import uView from 'uview-ui'; |
|
|
|
|
|
Vue.use(uView); |
|
|
|
|
|
|
|
|
import uView from 'uview-ui' |
|
|
|
|
|
Vue.use(uView) |
|
|
|
|
|
|
|
|
|
|
|
import Expands from '@/common/expands/index.js' |
|
|
|
|
|
Vue.use(Expands) |
|
|
|
|
|
|
|
|
// #ifndef VUE3
|
|
|
// #ifndef VUE3
|
|
|
import Vue from 'vue' |
|
|
import Vue from 'vue' |
|
|
Vue.config.productionTip = false |
|
|
Vue.config.productionTip = false |
|
|
App.mpType = 'app' |
|
|
App.mpType = 'app' |
|
|
const app = new Vue({ |
|
|
const app = new Vue({ |
|
|
...App |
|
|
|
|
|
|
|
|
...App |
|
|
}) |
|
|
}) |
|
|
app.$mount() |
|
|
app.$mount() |
|
|
// #endif
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
// #ifdef VUE3
|
|
|
// #ifdef VUE3
|
|
|
import { createSSRApp } from 'vue' |
|
|
|
|
|
|
|
|
import {createSSRApp} from 'vue' |
|
|
export function createApp() { |
|
|
export function createApp() { |
|
|
const app = createSSRApp(App) |
|
|
const app = createSSRApp(App) |
|
|
return { |
|
|
return { |
|
|