ez-pro/core/bitrix/js/ui/vue3/config.php
2025-11-13 19:04:05 +03:00

38 lines
645 B
PHP

<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true)
{
die();
}
if (
defined('VUEJS_DEBUG') && VUEJS_DEBUG
&& (!defined('VUEJS_DEBUG_DISABLE') || !VUEJS_DEBUG_DISABLE)
)
{
$js = './vue/dev/dist/vue.bundle.js';
$rel = [
'main.core',
'main.core.events',
'ui.vue3.bitrixvue',
'ui.vue3.devtools',
];
$settings = [
'localizationDebug' => defined('VUEJS_LOCALIZATION_DEBUG') && VUEJS_LOCALIZATION_DEBUG,
];
}
else
{
$js = './vue/prod/dist/vue.bundle.js';
$rel = [
'main.core',
'main.core.events',
'ui.vue3.bitrixvue',
];
$settings = [];
}
return [
'js' => $js,
'rel' => $rel,
'settings' => $settings,
];