[英]Bootstrap 4.5.2 bug/update popper.js out-of-date new way is popperjs/core
Co devs,共同开发者,
npm bootstrap 4.5.2 and up npm 引导程序 4.5.2 及更高版本
It is not ready for @popperjs/core它还没有准备好@popperjs/core
I'm looking for someone to help me fix the bootstrap.js我正在找人帮我修复 bootstrap.js
as a temporary fix for作为临时修复
ERROR in./node_modules/bootstrap/dist/js/bootstrap.js Module not found: Error: Can't resolve 'popper.js' in 'C:\Users\nodefion\Desktop\Website\Wordpress-Websites\Website-1\thema\wp-content\themes\Dolzon-2\node_modules\bootstrap\dist\js' @./node_modules/bootstrap/dist/js/bootstrap.js 7:101-121 @./src/app.js @ multi./src/app.js./src/app.scss
Because npm I popper.js not work.因为 npm 我 popper.js 不起作用。
I can delete de require('popper.js') in the bootstrap.js file我可以在 bootstrap.js 文件中删除 de require('popper.js')
But I want to include the new @popperjs/core但我想包括新的@popperjs/core
without having to wait a month or 2 for the fix.无需等待一两个月即可修复。
Share your thoughts with us和我们分享一下你的想法
best regards, Nodefion.com dev team最好的问候, Nodefion.com 开发团队
still a temporary fix
仍然是临时修复
But check out my Github on the bootstrap forum但是在引导程序论坛上查看我的 Github
https://github.com/twbs/bootstrap/issues/31451 https://github.com/twbs/bootstrap/issues/31451
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.