编程语言
首页 > 编程语言> > php-如果我不进行前端开发,是否需要安装`fxp / composer-asset-plugin`

php-如果我不进行前端开发,是否需要安装`fxp / composer-asset-plugin`

作者:互联网

在yii2安装指南的this section中,有以下说明:

With Composer installed, you can install Yii by running the following
commands under a Web-accessible folder:

composer global require "fxp/composer-asset-plugin:~1.0.3"

composer create-project --prefer-dist yiisoft/yii2-app-basic basic

The first command installs the composer asset plugin which allows managing bower and npm package dependencies through Composer.

我已阅读有关composer-asset-plugin here的信息,似乎它已用于通过composer管理前端依赖项.由于我不是为前端开发的,因此仍然需要安装此插件吗?

解决方法:

是的,您不能安装特定版本的扩展程序,因为未安装它,并且在安装后已解决.此链接的更多详细信息Yii Framework forum post

标签:yii2,composer-php,yii,php
来源: https://codeday.me/bug/20191119/2036671.html