<link rel="stylesheet" href="<?= asset('share/libs/tree/style.min.css'); ?>">
<div id="cv-archive-category-tree"></div>
<script type="text/javascript" src="<?= asset('share/libs/tree/jstree.min.js'); ?>"></script>
<script type="text/javascript">
    $(function () {
        $('#cv-archive-category-tree').jstree({
            "core": {
                'data': <?= $items; ?>
            },
            "themes": {
                'stripes': true
            }
        });
    });
</script>