Y
Y
Yeldos Sabyrbayev2021-08-24 11:11:33
1C-Bitrix
Yeldos Sabyrbayev, 2021-08-24 11:11:33

Scripts and adaptive on the site do not work?

Hello! I uploaded my template to a virtual server based on Bitrix. The adaptive with scripts does not work. But on Live Sass everything works in vscode. Here is a link to the site .

To edit the code on the server I use PhpStorm. Files with styles thrown into

template_style.scss
, header in
header.php
, footer in
footer.php
, well, the main main in
index.php
. Created files with scripts and connected them via
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . '/js/myscripts.js');
    Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . '/js/script.js');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2021-08-24
@Adamos

You open the site, press F12 and rake up what has piled into the console.
There are three errors at once, not counting the warnings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question