From 816526ac9567b8bccc08ee9fd3e85d67d3e08cdd Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Sat, 15 Nov 2025 17:31:20 +0700 Subject: [PATCH] feat(datatable): menyesuaikan konfigurasinya --- config/livewire-tables.php | 4 ++-- resources/js/app.js | 1 + resources/views/components/layouts/studio.blade.php | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/config/livewire-tables.php b/config/livewire-tables.php index dad9ea4..7815fa1 100644 --- a/config/livewire-tables.php +++ b/config/livewire-tables.php @@ -18,12 +18,12 @@ /** * Enable or Disable automatic injection of core assets */ - 'inject_core_assets_enabled' => true, + 'inject_core_assets_enabled' => false, /** * Enable or Disable automatic injection of third-party assets */ - 'inject_third_party_assets_enabled' => true, + 'inject_third_party_assets_enabled' => false, /** * Enable Blade Directives (Not required if automatically injecting or using bundler approaches) diff --git a/resources/js/app.js b/resources/js/app.js index 72ff114..6c63300 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -1,4 +1,5 @@ import './bootstrap'; +import '../../vendor/rappasoft/laravel-livewire-tables/resources/imports/laravel-livewire-tables-all.js'; import { Livewire, Alpine } from '../../vendor/livewire/livewire/dist/livewire.esm'; import Clipboard from '@ryangjchandler/alpine-clipboard' diff --git a/resources/views/components/layouts/studio.blade.php b/resources/views/components/layouts/studio.blade.php index 772a55f..3fccb85 100644 --- a/resources/views/components/layouts/studio.blade.php +++ b/resources/views/components/layouts/studio.blade.php @@ -8,6 +8,8 @@ @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles @fluxAppearance + @rappasoftTableStyles + @rappasoftTableThirdPartyStyles @@ -23,8 +25,10 @@ {{ $slot }} - @fluxScripts @livewireScriptConfig + @fluxScripts + @rappasoftTableScripts + @rappasoftTableThirdPartyScripts