creo que pude instalar select2, create sales y crud client o casi crud

This commit is contained in:
gianella
2026-01-08 19:41:21 -03:00
parent ed27d03373
commit dc400e0102
11 changed files with 612 additions and 254 deletions
+12
View File
@@ -1 +1,13 @@
import './bootstrap';
// 1. Importar jQuery
import jQuery from 'jquery';
// 2. Hacerlo global (IMPORTANTE para que funcione $(document).ready en Blade)
window.$ = window.jQuery = jQuery;
// 3. Importar Select2
import select2 from 'select2';
select2(); // Inicializar el plugin
// 4. Importar los estilos de Select2 (Opcional aquí, o en CSS)
import 'select2/dist/css/select2.css';