Angular 给出了错误: bootstrap 4 中的 popper.js 给出了 SyntaxError Unexpected token export
我从浏览器控制台收到此错误。
即使我更改了 popper.min.js 位置参考但没有用..
node_modules/popper.js/dist/umd/popper.min.js
node_modules/popper.js/dist/ems/popper.min.js
Angular.json
"scripts": [
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/jquery/dist/jquery.slim.min.js",
"node_modules/popper.js/dist/popper.min.js"
]