From adea67cf47c3a3e0a49b4ac582a8dbda53aa3dbc Mon Sep 17 00:00:00 2001 From: Yasar Date: Fri, 21 Sep 2018 15:45:48 +0530 Subject: [PATCH] Fix --- assets/AppAsset.php | 2 +- assets/PluginAsset.php | 5 +---- assets/ThemeAsset.php | 6 +++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/assets/AppAsset.php b/assets/AppAsset.php index 921b3b0..ff30805 100644 --- a/assets/AppAsset.php +++ b/assets/AppAsset.php @@ -12,6 +12,6 @@ class AppAsset extends AssetBundle { public $depends = [ - 'synamen\yii2-tabler-theme\ThemeAsset', + 'synamen\yii2-tabler-theme\assets\ThemeAsset', ]; } diff --git a/assets/PluginAsset.php b/assets/PluginAsset.php index 8751dcf..d78d098 100644 --- a/assets/PluginAsset.php +++ b/assets/PluginAsset.php @@ -60,8 +60,5 @@ class PluginAsset extends AssetBundle 'plugins/prismjs/js/prism.pack.js', ]; - public $depends = [ - 'backend\assets\AppAsset', - //'yii\bootstrap\BootstrapAsset', - ]; + } diff --git a/assets/ThemeAsset.php b/assets/ThemeAsset.php index 205d1e7..47a5ea0 100644 --- a/assets/ThemeAsset.php +++ b/assets/ThemeAsset.php @@ -25,8 +25,8 @@ class ThemeAsset extends AssetBundle public $depends = [ 'yii\web\JqueryAsset', 'yii\web\YiiAsset', - 'synamen\yii2-tabler-theme\HeadAsset', - 'synamen\yii2-tabler-theme\FontAsset', - 'synamen\yii2-tabler-theme\PluginAsset' + 'synamen\yii2-tabler-theme\assets\HeadAsset', + 'synamen\yii2-tabler-theme\assets\FontAsset', + 'synamen\yii2-tabler-theme\assets\PluginAsset' ]; }