import 'ant-design-vue/dist/antd.css' import { createApp } from 'vue' import { createPinia } from 'pinia' import App from './App.vue' import { router } from './router' import { setupLoginGuard } from './router/guard' const app = createApp(App) app.use(createPinia()) app.use(router) setupLoginGuard(router); app.mount('#app')