A
A
Alexander Arbuzov2018-09-10 18:03:49
1C-Bitrix
Alexander Arbuzov, 2018-09-10 18:03:49

How to attach Vue processing to ajax code?

In the pop-up window comes the code of the component with the form. I want the form to be processed by vuejs, but since the code is through ajax, the handlers do not work.
To call together in a template smacks of a collective farm. Can you tell me how to implement such a theme? <script>var a= new Vue();</sctipt>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Rak, 2018-09-10
@rak1996

Call ajax on an already created Vue instance.

T
tuxx, 2018-09-11
@tuxx

Via components and text\x-template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question