mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 09:15:44 +01:00
Fix #1483
This commit is contained in:
parent
53f8428d4d
commit
51ed3a6fad
1 changed files with 12 additions and 7 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue