update index and detail of course
This commit is contained in:
1 parent
bee5606474
commit
344fd73833
13 files changed
+325
-12
No files matched your search
+9
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user