19 lines
389 B
JavaScript
19 lines
389 B
JavaScript
import { createSSRApp } from 'vue'
|
|
import App from './App'
|
|
import store from './store' // store
|
|
import { install } from './plugins' // plugins
|
|
import './permission.js' // permission
|
|
// main.js
|
|
import uviewPlus from 'uview-plus'
|
|
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
app.use(uviewPlus)
|
|
app.use(store)
|
|
// app.use(uView)
|
|
install(app)
|
|
return {
|
|
app
|
|
}
|
|
}
|