From dd1aa8c7d6ec003fcf187c1fc8e6c56f60723414 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 12 Aug 2017 15:17:03 +0900 Subject: stats --- src/web/app/stats/script.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/web/app/stats/script.js (limited to 'src/web/app/stats/script.js') diff --git a/src/web/app/stats/script.js b/src/web/app/stats/script.js new file mode 100644 index 0000000000..75063501bb --- /dev/null +++ b/src/web/app/stats/script.js @@ -0,0 +1,23 @@ +/** + * Stats + */ + +// Style +import './style.styl'; + +import * as riot from 'riot'; +require('./tags'); +import init from '../init'; + +document.title = 'Misskey Statistics'; + +/** + * init + */ +init(me => { + mount(document.createElement('mk-index')); +}); + +function mount(content) { + riot.mount(document.getElementById('app').appendChild(content)); +} -- cgit v1.3.1-freya