22 lines
462 B
TypeScript
22 lines
462 B
TypeScript
import { createPinia } from 'pinia';
|
|
import { createApp } from 'vue';
|
|
import { createRouter, createWebHistory } from 'vue-router';
|
|
import App from './App.vue';
|
|
import { initLogger } from './logger';
|
|
import { routes } from './routes';
|
|
import './style.css';
|
|
|
|
initLogger();
|
|
|
|
const app = createApp(App);
|
|
const pinia = createPinia();
|
|
const router = createRouter({
|
|
history: createWebHistory(),
|
|
routes,
|
|
});
|
|
|
|
app.use(pinia);
|
|
app.use(router);
|
|
|
|
app.mount('#app');
|