import { createApp } from 'vue';
import { createPinia } from 'pinia';
import { VueQueryPlugin } from '@tanstack/vue-query';
import App from './App.vue';
import { router } from './app/router';
import { queryClient } from './app/queryClient';
import { resolveUiProvider } from './shared/ui/provider';
import './design-system/base.css';
const app = createApp(App);
app.use(createPinia());
app.use(router);
app.use(VueQueryPlugin, { queryClient });
(await resolveUiProvider(import.meta.env.VITE_UI_ADAPTER)).install(app);
app.mount('#app');
