Skip to content

Commit

Permalink
following ES Lint naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
zjf19002 committed Oct 17, 2023
1 parent 686f71c commit 2e50c4d
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 224 deletions.
13 changes: 13 additions & 0 deletions class_registration_app/src/components/CourseSearch.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script setup lang="ts">
</script>

<template>
<div>

</div>
</template>

<style scoped>
</style>
41 changes: 0 additions & 41 deletions class_registration_app/src/components/HelloWorld.vue

This file was deleted.

88 changes: 0 additions & 88 deletions class_registration_app/src/components/TheWelcome.vue

This file was deleted.

87 changes: 0 additions & 87 deletions class_registration_app/src/components/WelcomeItem.vue

This file was deleted.

23 changes: 15 additions & 8 deletions class_registration_app/src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../components/Home.vue'
import Login from '../components/Login.vue'
import Register from '../components/Register.vue'
import StartUp from '../components/StartUp.vue'
import LoginPage from '../components/LoginPage.vue'
import RegisterAccount from '../components/RegisterAccount.vue'
import CourseSearch from '../components/CourseSearch.vue'

const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: Home
name: 'Start Up',
component: StartUp
},
{
path: '/login',
name: 'login',
name: 'Login Page',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: Login
component: LoginPage
},
{
path: '/register',
name: 'Register',
component: Register,
component: RegisterAccount,
},
{
path: '/courses',
name: 'Courses',
component : CourseSearch,
}

]
})

Expand Down

0 comments on commit 2e50c4d

Please sign in to comment.