V
V
Vladimir2018-11-03 12:29:43
1C-Bitrix
Vladimir, 2018-11-03 12:29:43

How to use Vue.js and 1C Bitrix together?

Hello!
There are many themes that combine Vue and WordPress, or React and WordPress, etc. and enough examples on these topics. In general, WordPress, as usual, is everywhere and everywhere. As far as I know, WordPress has a pretty good REST API, but what can you say about Bitrix? Has anyone had experience with Bitrix REST API, and is there any experience at all? Maybe there are examples, and best of all, courses on using the 1C Bitrix REST API? Not necessarily examples with a link to Vue.js, because. this is the second thing, the main thing is the use of the Bitrix API.
I searched on the Internet on this topic, but did not really find anything.
Maybe, of course, this is not the best idea to use Vue.js and 1C Bitrix in conjunction, but these are the wishes of the client.
I will be very grateful!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
T
teen, 2018-11-03
@MSkitalec

https://dev.1c-bitrix.ru/api_help/
2 options to use: old api or new D7.
Do not forget to include at the beginning of the file where you will be working with api - the prologue:

require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");

D
Denis Bogdanov, 2019-02-21
@funcbook

Here it is , offers a good structure.

G
goodprogrammist, 2019-05-14
@goodprogrammist

Bitrix already comes with vue.js, but you need to create an application with a slightly different syntax. I made a small application for a feedback form. The simplest example . The application has been moved to a separate file for ease of viewing. Works great!

D
DotDash, 2019-11-23
@DotDash

Course from Bitrix itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question