wikijs-fork/client/index.js

18 lines
311 B
JavaScript
Raw Normal View History

2017-03-27 02:07:40 +00:00
'use strict'
let logic = document.documentElement.dataset.logic
switch (logic) {
case 'error':
require('./scss/error.scss')
break
2017-03-27 02:07:40 +00:00
case 'login':
require('./scss/login.scss')
require('./js/login.js')
break
default:
require('./scss/app.scss')
require('./js/app.js')
break
}