添加依赖plyr(后续)
This commit is contained in:
parent
f079e95fbe
commit
b43d772389
16
assets/PlyrAsset.php
Normal file
16
assets/PlyrAsset.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace app\assets;
|
||||
|
||||
use yii\web\AssetBundle;
|
||||
|
||||
class PlyrAsset extends AssetBundle
|
||||
{
|
||||
public $sourcePath = '@npm/plyr/dist';
|
||||
public $js = [
|
||||
'plyr.min.js',
|
||||
];
|
||||
public $css = [
|
||||
'plyr.css'
|
||||
];
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user