aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/bootstrap/cache-admin.js
blob: 97b41073d223b97d26689c114f1c6e3599739bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * 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
 */

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 }
            })
        })
    }
});