Uncaught TypeError: Cannot read property 'f7Modal' of undefined

I added Framework 7 and I keep getting this error(s):

“11 JavaScript errors”
Source: “framework7.bundle.min.js:13”
Message: “Uncaught TypeError: Cannot read property ‘f7Modal’ of undefined”

Any suggestions?
Thanks.