Skip to content
Snippets Groups Projects
Commit 51ed3a6f authored by syuilo's avatar syuilo
Browse files

Fix #1483

parent 53f8428d
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
* Authorize Form
*/
import VueRouter from 'vue-router';
// Style
import './style.styl';
......@@ -12,14 +14,17 @@ import Index from './views/index.vue';
/**
* init
*/
init(async (launch) => {
init(launch => {
document.title = 'Misskey | アプリの連携';
// Launch the app
const [app] = launch();
// Init router
const router = new VueRouter({
mode: 'history',
routes: [
{ path: '/:token', component: Index },
]
});
// Routing
app.$router.addRoutes([
{ path: '/:token', component: Index },
]);
// Launch the app
launch(router);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment