• Resolved adamsbk

    (@adamsbk)


    Hello,

    first of all, thanks for a great plugin. I implemented the plugin to the WP project that template was based on Vuejs. The is error caused by shortcode that generates this code:
    if(window.DFLIP && window.DFLIP.parseBooks){window.DFLIP.parseBooks()}

    That caused the problem since it was executed before the $(document).ready and thus there were wrong paths to threejs, … libraries. It would be great to have the script above optional and to be able to run it in a custom script

    • This topic was modified 3 years, 9 months ago by adamsbk.
Viewing 1 replies (of 1 total)
  • Plugin Author deip

    (@deip)

    Hi Adam,

    That is how it is in the current WP/jQuery scenario and haven’t faced any issues.

    Make sure dflip is added at bottom of the document. Don’t include the script in the head area. It’s best practice to load the script just before the closing tag of the body.

    Best Regards,
    Deip

    • This reply was modified 3 years, 9 months ago by deip.
Viewing 1 replies (of 1 total)
  • The topic ‘Vuejs / PWA / SSA issues’ is closed to new replies.