2017-03-27 02:07:40 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
let logic = document.documentElement.dataset.logic
|
|
|
|
|
|
|
|
switch (logic) {
|
2017-04-02 23:36:43 +00:00
|
|
|
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
|
|
|
|
}
|