1. 修改 resources/views/admin/machines/index.blade.php,將 @push('scripts') 更改為 @section('scripts')。
2. 確保 ApexCharts 函式庫可以正確被 layouts/admin.blade.php 的 @yield('scripts') 載入,解決 Uncaught ReferenceError 問題。
|
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| views | ||
1. 修改 resources/views/admin/machines/index.blade.php,將 @push('scripts') 更改為 @section('scripts')。
2. 確保 ApexCharts 函式庫可以正確被 layouts/admin.blade.php 的 @yield('scripts') 載入,解決 Uncaught ReferenceError 問題。
|
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| views | ||