aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/bootstrap/cache-admin.js
blob: 67cf7f93e33d46346267cdf09ba70547957d1d44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * Stud.IP: Administration of available cache types, like database, Memcached, Redis etc.
 *
 * @author    Thomas Hackl <studip@thomas-hackl.name>
 * @license   GPL2 or any later version
 * @copyright Stud.IP core group
 * @since     Stud.IP 5.0
 */

/*global jQuery, STUDIP */
import CacheAdministration from '../../../vue/components/CacheAdministration.vue'

STUDIP.domReady(() => {
    if (document.getElementById('cache-admin-container')) {
        STUDIP.Vue.load().then(({ createApp }) => {
            createApp({
                el: '#cache-admin-container',
                components: { CacheAdministration }
            })
        })
    }
});