运行命令:
npm install popper.js --save
将返回警告消息:
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
什么是安装popper v2的npm命令?
发布于 2020-02-23 07:11:51
npm install @popperjs/core --save
这比我预想的要简单一点。v1和v2之间的格式差异让我大吃一惊
https://stackoverflow.com/questions/60357705
复制相似问题