A
A
Alexander2017-08-10 12:34:28
Joomla
Alexander, 2017-08-10 12:34:28

How to properly integrate Joomla and Vue?

Hello dear community!
I need to add additional functionality to an existing site I
use Joomla and the Zoo content designer
I am making a module in which I will need to display certain materials
I want to do this using VUE (I am just starting to learn it)
the catch is this:
I can make the necessary selection from the database
and upload everything at once
but I need the elements to be loaded asynchronously
, how to form a response for VUE
so that using vue-resource or the like to get the data,
I'm completely confused :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shashenkov, 2017-08-10
@alexmixaylov

how to form a response for VUE
- the easiest json way
to use vue-resource or similar to get the data
use axios
You need to edit the component so that it responds in json format. Perhaps there are ready-made solutions like REST api for it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question