computed: {
store_mirror() {
return this.$store.state;
},
...
<?php
const VUEJS_DEBUG = true;
use Bitrix\Main\UI\Extension;
/* @global CMain $APPLICATION */
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
Extension::load("ui.vue");
Extension::load('sergey.mymodule.isthebest');
?>
<section>
<div id="mymodule"></div>
<script>
BX.ready(function() {
BX.Vue.create({
el: '#mymodule',
template: `<mymodule-isthebest />`
})
})
</script>
</section>
<?php
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php");