creo que pude instalar select2, create sales y crud client o casi crud
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user