yshop/uniapp-vue3/main.js
zheyun 89eca4b5a9
Some checks failed
build-push / build (push) Failing after 20s
upload source code
2026-11-02 21:15:14 +08:00

23 lines
350 B
JavaScript

/*
* @Author: Gaoxs
* @Date: 2023-04-07 15:12:06
* @LastEditors: Gaoxs
* @Description:
*/
import util from '@/utils'
import App from './App'
import { createPinia } from 'pinia'
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
app.use(util)
app.use(createPinia())
return {
app,
}
}