Last updated:
The Formcentric Vue Client enables the embedding of Formcentric forms into Vue applications via the component FormcentricForm from the package @formcentric/client-vue.
Unlike traditional embedding via formcentric.js, formapp.js and window.formcentric.initFormcentric(), integration with Vue is component-based. Initialisation, teardown and re-embedding are serialised internally. This avoids typical problems affecting single-page applications, including duplicate initialisation, concurrent teardowns or inconsistent states for navigation and re-rendering.
Vue integration is therefore the recommended path for modern Vue applications.