popper.js - How to use popper 1.12.0 with bootstrap 4.0 beta -
i'm old school, downloaded source code 1.12.0 , did following:
<script src="/popper.js-1.12.0/dist/popper.js"></script> <script src="/bootstrap-4.0.0-beta/dist/js/bootstrap.js"></script> but i'm getting:
uncaught syntaxerror: unexpected token export
on line 2294 says:
export default popper;
you want use dist target specified in package.json file main entry.
in case, looking umd build (dist/umd/popper.js)
Comments
Post a Comment