19 lines
304 B
JavaScript
19 lines
304 B
JavaScript
import App from './App';
|
|
import { createSSRApp } from 'vue';
|
|
import { setupPinia } from './sheep/store';
|
|
import uviewPlus from 'uview-plus';
|
|
|
|
export function createApp() {
|
|
|
|
const app = createSSRApp(App);
|
|
|
|
// 使用 uview-plus
|
|
app.use(uviewPlus);
|
|
|
|
setupPinia(app);
|
|
|
|
return {
|
|
app,
|
|
};
|
|
}
|