mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
22 lines
400 B
JavaScript
22 lines
400 B
JavaScript
import Vue from 'vue';
|
|
import Router from 'vue-router';
|
|
import ContentStream from './views/ContentStream';
|
|
import Sidebar from './components/Sidebar';
|
|
|
|
Vue.use(Router);
|
|
|
|
export default new Router({
|
|
routes: [
|
|
{
|
|
path: '/:servicePort?/:streamId?',
|
|
name: 'stream',
|
|
props: true,
|
|
components: {
|
|
sidebar: Sidebar,
|
|
content: ContentStream,
|
|
},
|
|
},
|
|
],
|
|
linkActiveClass: 'active',
|
|
});
|