The popper.js lib is available in three version for three different module loaders. In short: if you load it with the

tag then you must use the UMD version. You can find it in /dist/umd. The default (in /dist) is the ESNext (ECMA-Script) which can not be loaded using the script tag. I used the popper.js found over here: https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js and it fixed the error. Great theme! Thanks
CommentFileSizeAuthor
#6 use-umd-popperjs-lib-3135738-6.patch41.5 KBnickdjm

Comments

Vlooi Vlerke created an issue. See original summary.

vlooi vlerke’s picture

Issue summary: View changes
nickdjm’s picture

Good catch @Vlooi Vlerke!

When I get a moment this week I'll fix the dev branch to use /dist/umd/popper.min.js instead of /dist/popper.min.js.

nickdjm’s picture

Status: Needs review » Needs work
nickdjm’s picture

Assigned: Unassigned » nickdjm
nickdjm’s picture

Status: Needs work » Needs review
StatusFileSize
new41.5 KB

@Vlooi Vlerke

Here's a patch that should fix the problem.

I'll do some testing later, but if you're also able to apply it to your environment and confirm it works, that would be appreciated!

nickdjm’s picture

Status: Needs review » Fixed
nickdjm’s picture

Status: Fixed » Closed (fixed)