Integrating Vue JS Components with Websight #78
Replies: 3 comments 11 replies
-
HI! |
Beta Was this translation helpful? Give feedback.
-
Maybe, after the dialog submission, we could give the option to trigger iframe reload like with: SPA frameworks like React, Angular, Vue do not play well with direct DOM manipulations. |
Beta Was this translation helpful? Give feedback.
-
Hi, just to summarise: We will also provide a possibility to extend Page Editor with custom actions, but for now, I won’t share any details, because we have to design it first. |
Beta Was this translation helpful? Give feedback.
-
Hey! 👋
We attempted to integrate WebSight with Vue.
So, in the page folder under the resources, we created the Vue app instance with primevue (for styling) in the body.html.
So the Vue components are rendering. But when we edit the Vue components after clicking submit button in the Edit dialog box the Vue instance or the javascript that is responsible for Vue components, it is not rendering. But I see my changes coming as a response from rootcontainer.html. I believe the Vue thing is not persisting after an edit submission, but we can see the changes after a refresh.
Is there any way or idea to implement Javascript (Vue) in WebSight so that the Vue thing remains after editing?
Beta Was this translation helpful? Give feedback.
All reactions