feat: add medias page

This commit is contained in:
yanghao05
2025-04-01 19:32:50 +08:00
parent fe9a80405d
commit 6aa61a7497
4 changed files with 306 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
import Aura from '@primeuix/themes/aura';
import PrimeVue from 'primevue/config';
import ConfirmationService from 'primevue/confirmationservice';
import ToastService from 'primevue/toastservice';
import { createApp } from 'vue';
import App from './App.vue';
import { router } from './router.js';
@@ -30,6 +32,12 @@ app.use(PrimeVue, {
}
})
// Register the ConfirmationService to fix the error
app.use(ConfirmationService);
// Register the ToastService
app.use(ToastService);
// Remove global component registrations
app.mount('#app');