summaryrefslogtreecommitdiff
path: root/src/web/app/auth/script.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-28 00:11:28 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-28 00:11:28 +0900
commitdbc421cb571f69a4c71691c00b094925006b95fe (patch)
tree02a7e77b1545d120494a3b7f0487b45e1078f723 /src/web/app/auth/script.ts
parentv3917 (diff)
downloadsharkey-dbc421cb571f69a4c71691c00b094925006b95fe.tar.gz
sharkey-dbc421cb571f69a4c71691c00b094925006b95fe.tar.bz2
sharkey-dbc421cb571f69a4c71691c00b094925006b95fe.zip
:v:
Diffstat (limited to 'src/web/app/auth/script.ts')
-rw-r--r--src/web/app/auth/script.ts25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/web/app/auth/script.ts b/src/web/app/auth/script.ts
new file mode 100644
index 0000000000..31c758ebc2
--- /dev/null
+++ b/src/web/app/auth/script.ts
@@ -0,0 +1,25 @@
+/**
+ * Authorize Form
+ */
+
+// Style
+import './style.styl';
+
+import init from '../init';
+
+import Index from './views/index.vue';
+
+/**
+ * init
+ */
+init(async (launch) => {
+ document.title = 'Misskey | アプリの連携';
+
+ // Launch the app
+ const [app] = launch();
+
+ // Routing
+ app.$router.addRoutes([
+ { path: '/:token', component: Index },
+ ]);
+});