添加依赖
This commit is contained in:
parent
aedb911986
commit
4ee6b055de
13
assets/TSParticlesAsset.php
Normal file
13
assets/TSParticlesAsset.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace app\assets;
|
||||
|
||||
use yii\web\AssetBundle;
|
||||
|
||||
class TSParticlesAsset extends AssetBundle
|
||||
{
|
||||
public $sourcePath = '@npm/tsparticles--slim';
|
||||
public $js = [
|
||||
'tsparticles.slim.bundle.js',
|
||||
];
|
||||
}
|
@ -53,7 +53,8 @@
|
||||
"chenx221/yii2-bootstrap5": "dev-master",
|
||||
"npm-asset/echarts": "^5.5",
|
||||
"npm-asset/echarts-liquidfill": "^3.1",
|
||||
"npm-asset/quill": "^1.3"
|
||||
"npm-asset/quill": "^1.3",
|
||||
"npm-asset/tsparticles--slim": "3.3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"yiisoft/yii2-debug": "~2.1.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user