添加依赖plyr(后续)

This commit is contained in:
Chenx221 2024-02-19 12:59:28 +08:00
parent f079e95fbe
commit b43d772389
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

16
assets/PlyrAsset.php Normal file
View 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'
];
}