3D FlipBook - jQuery plugin with vuejs?

c***g@vindico.net
2022-10-17
2022-11-07

Hi all,

I am trying to implement flipbook into my vue js project.

Ive managed to get jquery working with vue but in my mounted() hook im trying to call the FlipBook methods but im getting a console error of:

jquery.js?1157:4059 Uncaught TypeError: jqueryWEBPACK_IMPORTED_MODULE12default(...)(...).FlipBook is not a function

Could anyone assist?

Thanks, Craig

Replies

c***g@vindico.net
2022-10-17
2022-10-17

I have figured out the solution if anyone ever has this issue.

Import the flipbook scripts in both your /public/index.html and in your respective .vue template/page.

This then makes jquery properly available globally and it will work.

Log In to leave a comment