wikijs-fork/client/index.js

15 lines
252 B
JavaScript

'use strict'
let logic = document.documentElement.dataset.logic
switch (logic) {
case 'login':
require('./scss/login.scss')
require('./js/login.js')
break
default:
require('./scss/app.scss')
require('./js/app.js')
break
}