2023-11-02 09:00:28 +00:00
|
|
|
import { createApp } from "vue";
|
|
|
|
import App from "./App.vue";
|
|
|
|
import { setupVueQuery } from "@/setup/setupVueQuery";
|
2023-11-09 06:56:06 +00:00
|
|
|
import { setupComponents } from "@/setup/setupComponents";
|
|
|
|
import { setupI18n } from "@/locales";
|
|
|
|
import { createPinia } from "pinia";
|
2023-11-02 09:00:28 +00:00
|
|
|
|
|
|
|
const app = createApp(App);
|
2023-11-09 06:56:06 +00:00
|
|
|
|
|
|
|
setupComponents(app);
|
|
|
|
setupI18n(app);
|
2023-11-02 09:00:28 +00:00
|
|
|
setupVueQuery(app);
|
|
|
|
|
2023-11-09 06:56:06 +00:00
|
|
|
app.use(createPinia());
|
|
|
|
|
|
|
|
(async function () {
|
|
|
|
await initApp();
|
|
|
|
})();
|
|
|
|
|
|
|
|
async function initApp() {
|
|
|
|
app.mount("#app");
|
|
|
|
}
|