Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As preezieā€™s scripts run on render, the widgets requires a slightly different setup when embedded within SPA frameworks:

  1. The widgets must reside in the page it is displayed. Adding preezie at a global level may lead to issues when navigating between pages.

  2. It is recommended to add preezie during component mount (or equivalent event based on SPA libraries).

Below is a sample implementation using Vue.js

We have a sample react application for SPA implementation on github. . There is sample projects in github for different SPA implementations.

https://github.com/rmargaderdenepreezie/preezie-widget-samplesexamples

...