使用create-react-app创建的项目如何查看create-react-app版本和Webpack版本
要查看create-react-app的版本,可以在项目根目录下运行以下命令:
npm list --depth=0 | grep react-scripts
这将显示create-react-app安装的版本。
要查看Webpack的版本,可以在项目根目录下运行以下命令:
npm list --depth=0 | grep webpack
这将显示Webpack安装的版本。
原文地址: https://www.cveoy.top/t/topic/jayG 著作权归作者所有。请勿转载和采集!