acdr/ruoyi-vue-pro/yudao-ui/yudao-ui-mall-uniapp/main.js

16 lines
221 B
JavaScript
Raw Normal View History

2024-09-02 07:40:26 +08:00
import App from './App';
import { createSSRApp } from 'vue';
import { setupPinia } from './sheep/store';
export function createApp() {
const app = createSSRApp(App);
setupPinia(app);
return {
app,
};
}