11
This commit is contained in:
@@ -23,11 +23,13 @@ import Dialog from "primevue/dialog";
|
||||
import DashboardCard from "./components/dashboard/DashboardCard.vue";
|
||||
import App from "./App.vue";
|
||||
import router from "./router";
|
||||
import { useAuthStore } from "./stores/auth.js";
|
||||
import "./styles/main.css";
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
app.use(createPinia());
|
||||
const pinia = createPinia();
|
||||
app.use(pinia);
|
||||
app.use(router);
|
||||
app.use(PrimeVue, {
|
||||
theme: {
|
||||
@@ -58,4 +60,6 @@ app.component("TabPanel", TabPanel);
|
||||
app.component("DashboardCard", DashboardCard);
|
||||
app.component("Dialog", Dialog);
|
||||
|
||||
useAuthStore(pinia).hydrateRustSession();
|
||||
|
||||
app.mount("#app");
|
||||
|
||||
Reference in New Issue
Block a user