How to fix popper.js in bootstrap 4 gives SyntaxError Unexpected token export
By FoxLearn Published on Feb 16, 2024 806
This post shows you how to fix 'popper.js in bootstrap 4 gives SyntaxError Unexpected token export' in javascript.
For example
<script src="libs/popper.js/dist/popper.js"></script>
Uncaught syntaxError: Unexpected token export
To solve the problem, you can add bootstrap.bundle.min.js and remove popper.js in your html file.
Because bootstrap.bundle.min.js included popper.js
Categories
Popular Posts
11 Things You Didn't Know About Cloudflare
Dec 19, 2024
AdminKit Bootstrap 5 HTML5 UI Kits Template
Nov 17, 2024
RuangAdmin Template
Nov 13, 2024
Admin BSB Free Bootstrap Admin Dashboard
Nov 14, 2024