简体   繁体   English

如何安装webpack-encore版本1?

[英]How to install webpack-encore version 1?

I want to install webpack encore version 1.0 using this CMD : composer require symfony/webpack-encore-pack I get this problem picture of the problem我想使用此CMD安装Webpack Encore版本1.0: composer require symfony/webpack-encore-pack我得到了这个问题的图片

  The symfony/webpack-encore-pack is no longer required anymore. Instead, use symfony/webpack-encore-bundle.

and none of the webpack.config.js and asset file/folder are generated并且没有生成webpack.config.js和资产文件/文件夹

I don't want to use the last version because it is different from the tutorial I am following.我不想使用最新版本,因为它与我正在关注的教程不同。 so is there any way I can install it manually?所以有什么办法可以手动安装它吗?

I want to install webpack encore version 1.0 using this CMD : composer require symfony/webpack-encore-pack I get this problem picture of the problem我想使用此CMD安装Webpack Encore版本1.0: composer require symfony/webpack-encore-pack我得到了这个问题的图片

  The symfony/webpack-encore-pack is no longer required anymore. Instead, use symfony/webpack-encore-bundle.

and none of the webpack.config.js and asset file/folder are generated并且没有生成webpack.config.js和资产文件/文件夹

I don't want to use the last version because it is different from the tutorial I am following.我不想使用最新版本,因为它与我正在关注的教程不同。 so is there any way I can install it manually?所以有什么办法可以手动安装它吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM