import './bootstrap'; // import '../css/app.css'; import '../assets/styles.scss'; // import 'primevue/resources/themes/aura-light-green/theme.css'; import { createApp, h } from 'vue'; import { createInertiaApp } from '@inertiajs/vue3'; import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'; import { ZiggyVue } from '../../vendor/tightenco/ziggy'; import PrimeVue from 'primevue/config'; import Aura from '../css/presets/aura'; import router from '../router'; import ToastService from 'primevue/toastservice'; const appName = import.meta.env.VITE_APP_NAME || 'Laravel'; createInertiaApp({ title: (title) => `${title} - ${appName}`, resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')), setup({ el, App, props, plugin }) { return createApp({ render: () => h(App, props) }) .use(plugin) .use(PrimeVue, { unstyled: false, ripple: true, // pt: Aura }) .use(ToastService) .use(router) .use(ZiggyVue) .mount(el); }, progress: { color: '#4B5563', }, });