You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
411 B
23 lines
411 B
import { createSSRApp } from 'vue'
|
|
import App from './App'
|
|
// 存储
|
|
import store from '@/store'
|
|
// 路由权限控制
|
|
import '@/permission.js'
|
|
|
|
// 框架方法
|
|
import frameTool from "@/utils/frameTool";
|
|
// 插件方法
|
|
import pluginTool from "@/plugins/pluginTool.js";
|
|
|
|
const app = createSSRApp(App)
|
|
|
|
app.use(store)
|
|
app.use(frameTool)
|
|
app.use(pluginTool)
|
|
|
|
export function createApp() {
|
|
return {
|
|
app
|
|
}
|
|
}
|