mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 20:33:09 +02:00
24 lines
368 B
TypeScript
24 lines
368 B
TypeScript
|
import VueRouter from 'vue-router';
|
||
|
|
||
|
// Style
|
||
|
import './style.styl';
|
||
|
|
||
|
import init from '../init';
|
||
|
import Index from './views/index.vue';
|
||
|
|
||
|
init(launch => {
|
||
|
document.title = 'Misskey';
|
||
|
|
||
|
// Init router
|
||
|
const router = new VueRouter({
|
||
|
mode: 'history',
|
||
|
base: '/test/',
|
||
|
routes: [
|
||
|
{ path: '/', component: Index },
|
||
|
]
|
||
|
});
|
||
|
|
||
|
// Launch the app
|
||
|
launch(router);
|
||
|
});
|