添加依赖

This commit is contained in:
Chenx221 2024-04-19 18:21:11 +08:00
parent aedb911986
commit 4ee6b055de
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021
2 changed files with 15 additions and 1 deletions

View 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',
];
}

View File

@ -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",