import { createApp } from "vue"; import { createMemoryHistory, createRouter } from 'vue-router'; import {routes} from './routes'; import "./style.css"; import { createPinia } from 'pinia'; import App from "./App.vue"; const pinia = createPinia(); export const router = createRouter({ history: createMemoryHistory(), routes, }) createApp(App).use(router).use(pinia).mount("#app");