paricafe/src/web/app/auth/script.js
syuilo 4193b990c7 #183 🎉
2017-02-19 12:31:23 +09:00

23 lines
394 B
JavaScript

/**
* Authorize Form
*/
// Style
//import './style.styl';
require('./style.styl');
const riot = require('riot');
document.title = 'Misskey | アプリの連携';
require('./tags');
const boot = require('../boot.js');
/**
* Boot
*/
boot(me => {
mount(document.createElement('mk-index'));
});
function mount(content) {
riot.mount(document.getElementById('app').appendChild(content));
}