Created
September 9, 2017 20:04
-
-
Save caputomarcos/cf39741ccdd920bfad3d853f6747d867 to your computer and use it in GitHub Desktop.
EM: tuiuiu/tuiuiuadmin/static_src/tuiuiuadmin/app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { initExplorer } from 'tuiuiu-client'; | |
/** | |
* Admin JS entry point. Add in here code to run once the page is loaded. | |
*/ | |
document.addEventListener('DOMContentLoaded', () => { | |
const explorerNode = document.querySelector('[data-explorer-menu]'); | |
const toggleNode = document.querySelector('[data-explorer-start-page]'); | |
if (explorerNode && toggleNode) { | |
initExplorer(explorerNode, toggleNode); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@tuiuiu-io @mathvaleriano