tokumeikoi 3 лет назад
Родитель
Сommit
4ef5a4ca81
3 измененных файлов с 2 добавлено и 0 удалено
  1. 0 0
      public/theme/v2board/assets/umi.js
  2. 1 0
      public/theme/v2board/dashboard.blade.php
  3. 1 0
      routes/web.php

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
public/theme/v2board/assets/umi.js


+ 1 - 0
public/theme/v2board/dashboard.blade.php

@@ -23,6 +23,7 @@
     <script>
         window.settings = {
             title: '{{$title}}',
+            theme_path: '{{$theme_path}}',
             theme: {
                 sidebar: '{{$theme_sidebar}}',
                 header: '{{$theme_header}}',

+ 1 - 0
routes/web.php

@@ -22,6 +22,7 @@ Route::get('/', function (Request $request) {
     $renderParams = [
         'title' => config('v2board.app_name', 'V2Board'),
         'theme' => config('v2board.frontend_theme', 'v2board'),
+        'theme_path' => '/theme/' . config('v2board.frontend_theme', 'v2board') . '/assets/',
         'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
         'theme_header' => config('v2board.frontend_theme_header', 'dark'),
         'theme_color' => config('v2board.frontend_theme_color', 'default'),

Некоторые файлы не были показаны из-за большого количества измененных файлов