<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.0/js/bootstrap.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.0/js/bootstrap.bundle.min.js"></script>
<?php
Asset::getInstance()->addCss(SITE_TEMPLATE_PATH.'/assets/css/vendor.css');
Asset::getInstance()->addCss(SITE_TEMPLATE_PATH.'/assets/css/theme.css');
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH.'/assets/javascript/app.js');
Asset::getInstance()->addString('<meta name="viewport" content="width=device-width, initial-scale=1.0">');
Asset::getInstance()->addString('<meta charset="utf-8">');
можно через CJSCore::RegisterExt зарегистрировать свои скрипты, там зависимости можно определить между ними
Обсуждают сегодня