From 377f8c322a2d7d6e537cb7c28cae4361cb8c2a8b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 2 Mar 2026 13:02:16 -0600 Subject: [PATCH] =?UTF-8?q?Se=20realiza=20carga=20de=20compatibilidad=20de?= =?UTF-8?q?=20boostrap=20con=20sb=20admin=20y=20correci=C3=B3n=20de=20vist?= =?UTF-8?q?as?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 5 +++-- resources/js/bootstrap.js | 7 +------ resources/views/layouts/landing.blade.php | 4 ++-- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 866a18e4..85982437 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "private": true, "type": "module", "scripts": { - "build": "vite build", - "dev": "vite" + "build": "vite build", + "dev": "vite", + "dev:all": "concurrently \"php artisan serve\" \"php artisan queue:work\" \"php artisan reverb:start\" \"npm run dev\"" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index deb2e10c..30c8d9eb 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -1,12 +1,7 @@ import axios from 'axios'; + window.axios = axios; window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; -/** - * Echo exposes an expressive API for subscribing to channels and listening - * for events that are broadcast by Laravel. Echo and event broadcasting - * allow your team to quickly build robust real-time web applications. - */ - import './echo'; diff --git a/resources/views/layouts/landing.blade.php b/resources/views/layouts/landing.blade.php index c142900e..c1793f4f 100644 --- a/resources/views/layouts/landing.blade.php +++ b/resources/views/layouts/landing.blade.php @@ -3,9 +3,9 @@ - - @vite(['resources/css/app.css', 'resources/js/app.js']) @include('layouts._partials.head') + @vite([ 'resources/js/app.js']) + {{-- Livewire styles --}} @livewireStyles