Skip to content

Update assets aliasesΒ #152

@yii-bot

Description

@yii-bot

This issue has originally been reported by @chervand at yiisoft/yii2#15088.
Moved here by @cebe.


Since switched to asset-packagist.org, yii\base\Application::setVendorPath() bower and npm paths should be updated bower-asset and npm-asset respectively.

What steps will reproduce the problem?

Using path aliases such as @bower or @npm. For example, yiisoft/yii2-bootstrap uses @bower alias for assets.

What is the expected result?

@bower and @npm are aliases for @vendor/bower-asset and @vendor/npm-asset respectively.

What do you get instead?

Wrong paths for bower and npm assets while using its path aliases.

Additional info

Q A
Yii version 2.0.13
PHP version 7.0.22
Operating system ubuntu0.16.04.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions