Skip to content

Commit

Permalink
Merge pull request #4 from krissss/master
Browse files Browse the repository at this point in the history
fix: use `npm` instead of `bower`
  • Loading branch information
daixianceng authored Sep 2, 2018
2 parents f0fb3f6 + 8aa5547 commit 511995e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"require": {
"yiisoft/yii2": "*",
"bower-asset/echarts": "*"
"npm-asset/echarts": "*"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/EChartsAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class EChartsAsset extends AssetBundle
/**
* @inheritdoc
*/
public $sourcePath = '@bower/echarts/dist';
public $sourcePath = '@npm/echarts/dist';

/**
* Initializes the bundle.
Expand Down
2 changes: 1 addition & 1 deletion src/MapAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class MapAsset extends AssetBundle
{
public $sourcePath = '@bower/echarts/map';
public $sourcePath = '@npm/echarts/map';

public $depends = [
'daixianceng\echarts\EChartsAsset',
Expand Down
2 changes: 1 addition & 1 deletion src/ThemeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class ThemeAsset extends AssetBundle
{
public $sourcePath = '@bower/echarts/theme';
public $sourcePath = '@npm/echarts/theme';

public $depends = [
'daixianceng\echarts\EChartsAsset',
Expand Down

0 comments on commit 511995e

Please sign in to comment.