wikijs-fork/client/index.js
2017-03-28 20:19:01 -04:00

17 lines
378 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('./node_modules/highlight.js/styles/tomorrow.css')
require('./node_modules/simplemde/dist/simplemde.min.css')
require('./scss/app.scss')
require('./js/app.js')
break
}