15 lines
236 B
TypeScript

import { createSSRApp } from 'vue';
import App from './App.vue';
import { setupStore } from '@/state';
export function createApp() {
const app = createSSRApp(App);
// Configure store
setupStore(app);
return {
app,
};
}