main.js 223 B

12345678910111213141516
  1. import App from './App';
  2. import { createSSRApp } from 'vue';
  3. import { setupPinia } from './sheep/store';
  4. export function createApp() {
  5. const app = createSSRApp(App);
  6. setupPinia(app);
  7. return {
  8. app,
  9. };
  10. }