[merge] dev and cfpMain

This commit is contained in:
mysper
2021-01-19 17:39:16 +08:00
commit 8abe7576db
102 changed files with 16413 additions and 0 deletions

44
src/router/index.ts Normal file
View File

@@ -0,0 +1,44 @@
import Vue from 'vue';
import VueRouter, { RouteConfig } from 'vue-router';
// components
import CFP from '../pages/CFP.vue';
import News from '../pages/News.vue';
Vue.use(VueRouter);
export const routes: RouteConfig[] = [
{
path: '/',
name: 'Home',
redirect: '/cfp',
meta: {
index: 0,
label: 'SITCON 2021',
menuItem: true
}
},
{
path: '/cfp',
name: 'CFP',
component: CFP,
meta: {
menuItem: false
}
},
{
path: '/news',
name: 'news',
component: News,
meta: {
menuItem: false
}
}
];
const router = new VueRouter({
mode: 'history',
base: '/2021',
routes
});
export default router;