|
@@ -29,9 +29,8 @@ import TeachActivies from '../components/resource/TeachActivies.vue'
|
|
|
import TeachClass from '../components/resource/TeachClass.vue'
|
|
|
import TeachTopclass from '../components/resource/TeachTopclass.vue'
|
|
|
import text from '../components/resource/text.vue'
|
|
|
-export const routes = [
|
|
|
-
|
|
|
- { name: 'index', path: '/resource', redirect: "/HomePage", component: Index },
|
|
|
+export const routes = [
|
|
|
+ { name: 'index', path: '/', redirect: "/HomePage", component: Index },
|
|
|
{ name: 'indexarea', path: '/arearesource', component: Indexarea },
|
|
|
{ name: 'Indexschool', path: '/schoolresource', component: Indexschool },
|
|
|
{ name: 'synch', path: '/synch', component: Synch },
|
|
@@ -45,7 +44,7 @@ export const routes = [
|
|
|
{ name: 'ActivityCertificate', path: '/activitycertificate', component: ActivityCertificate },
|
|
|
{ name: 'ActivityDetails', path: '/activitydetails', component: ActivityDetails },
|
|
|
{ name: 'Login', path: '/login', component: Login },
|
|
|
- { name: 'HomePage', path: '/HomePage', component: HomePage },
|
|
|
+ { name: 'HomePage', path: '/HomePage',component: HomePage,},
|
|
|
{ name: 'Teacher', path: '/Teacher', component: Teacher },
|
|
|
{ name: 'text', path: '/text', component: text },
|
|
|
{
|