Hello everyone, people help me deal with Vue, for the CEO it is necessary to generate the html code on the server, on the client the minimum functionality with vuejs: filter, hide / show and so on.
<?php /** @var array $direction_list */ foreach ($direction_list as $direction) : ?> <div class="country"> <img src="<?= $direction['CountryImageUrl'] ?>" alt=""> <a class="name" href="<?= $direction['url'] ?>"><?= $direction['CountryName'] ?></a> <a class="price" href="<?= $direction['url'] ?>">от <?= $direction['MinPrice'] ?> руб.</a> <div class="link"><a href="<?= $direction['url'] ?>">Подробнее</a></div> </div> <?php endforeach; ?> How can I use html parsing and continue to work with it? It only comes to mind when loading a page to take data on api and replace the entire unit with countries and then work with it. Docks read and google wool nothing adequate. It turns out only the replacement will help, help who is well versed in the twist)