test
This commit is contained in:
parent
efd21a7297
commit
441676be27
97 changed files with 10764 additions and 223 deletions
22
frontend/src/main.ts
Normal file
22
frontend/src/main.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import { createApp } from "vue";
|
||||
import { createPinia } from "pinia";
|
||||
|
||||
import AppShell from "@/app/AppShell.vue";
|
||||
import router from "@/app/router";
|
||||
import { bootstrapAppProviders } from "@/app/providers";
|
||||
import "@/styles.css";
|
||||
|
||||
async function main(): Promise<void> {
|
||||
const app = createApp(AppShell);
|
||||
const pinia = createPinia();
|
||||
|
||||
app.use(pinia);
|
||||
await bootstrapAppProviders();
|
||||
|
||||
app.use(router);
|
||||
await router.isReady();
|
||||
|
||||
app.mount("#app");
|
||||
}
|
||||
|
||||
void main();
|
||||
Loading…
Add table
Add a link
Reference in a new issue