Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MajorBook - Team202
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LeeYongJae
MajorBook - Team202
Commits
ce9614f0
Commit
ce9614f0
authored
5 years ago
by
YongJae
Browse files
Options
Downloads
Patches
Plain Diff
Modify front - index.js
parent
256c90aa
No related branches found
Branches containing commit
No related tags found
1 merge request
!6
Login 기능 추가
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/router/index.js
+38
-10
38 additions, 10 deletions
frontend/src/router/index.js
with
38 additions
and
10 deletions
frontend/src/router/index.js
+
38
−
10
View file @
ce9614f0
import
Vue
from
'
vue
'
import
Router
from
'
vue-router
'
Vue
.
use
(
Router
)
//import IndexPage from '@/components/IndexPage'
import
home
from
'
@/components/home
'
import
myPage
from
'
@/components/myPage
'
import
buy
from
'
@/components/buy
'
import
sell
from
'
@/components/sell
'
import
BookIndexPage
from
'
@/components/BookIndexPage
'
import
BookShowPage
from
'
@/components/BookShowPage
'
import
Login
from
'
@/components/login/Login
'
import
SignUp
from
'
@/components/login/SignUp
'
export
default
new
Router
({
mode
:
'
history
'
,
routes
:
[
// {
// path: '/',
// name: 'IndexPage',
// component: IndexPage
// },
{
path
:
'
/
'
,
name
:
'
home
'
,
component
:
home
},
{
path
:
'
/myPage
'
,
name
:
'
myPage
'
,
component
:
myPage
},
{
path
:
'
/buy
'
,
name
:
'
buy
'
,
component
:
buy
},
{
path
:
'
/sell
'
,
name
:
'
sell
'
,
component
:
sell
},
{
path
:
'
/BookIndexPage
'
,
name
:
'
bookindex
'
,
component
:
BookIndexPage
},
{
path
:
'
/:id
'
,
path
:
'
/
BookIndexPage
:id
'
,
name
:
'
bookdetail
'
,
component
:
BookShowPage
},
{
path
:
'
/login
'
,
name
:
'
Login
'
,
component
:
Login
},
{
path
:
'
/login/signUp
'
,
name
:
'
SignUp
'
,
component
:
SignUp
}
]
})
})
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment