Example #1
0
 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('css', ['css/nprogress']);
     $this->setupAssets('js', ['js/nprogress', 'js/main']);
     parent::init();
 }
Example #2
0
 public function init()
 {
     $this->depends[] = 'ninazu\\notify\\JqueryCookieAsset';
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('js', ['alertify/js/alertify.min', 'phpunserialize']);
     $this->setupAssets('css', ['alertify/css/alertify.min', 'alertify/css/themes/semantic.min']);
     parent::init();
 }