mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
378 B
17 lines
378 B
8 years ago
|
'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
|
||
|
}
|