update index and detail of course

This commit is contained in:
AceDataCloud committed 2022-02-07 01:55:38 +08:00
1 parent bee5606474
commit 344fd73833
13 files changed
+325 -12

No files matched your search

+9 -1
View File
@@ -3,7 +3,15 @@ import auth from './auth';
import course from './course';
import store from '@/store';
const routes = [auth, course];
const routes = [
{
path: '/',
name: 'index',
redirect: '/courses'
},
auth,
course
];
const router = createRouter({
history: createWebHistory(),