File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 18
18
<el-aside width =" 20%" class =" menu-col" >
19
19
<section class =" menu" >
20
20
<el-menu :default-openeds =" []" default-active =" 1" background-color =" #2b2925" text-color =" #fff" active-text-color =" #ffd04b" >
21
- <a href =" ../home" ><el-menu-item index =" home" router =" true" >
21
+ <a href =" ../#/ home" ><el-menu-item index =" home" router =" true" >
22
22
<template slot="title">
23
23
<span >Home</span >
24
24
</template >
25
25
</el-menu-item ></a >
26
- <a href =" ../seminars" ><el-menu-item index =" seminars" router =" true" >
26
+ <a href =" ../#/ seminars" ><el-menu-item index =" seminars" router =" true" >
27
27
<template slot="title">
28
28
<span >Seminars</span >
29
29
</template >
30
30
</el-menu-item ></a >
31
- <a href =" ../news" ><el-menu-item index =" news" router =" true" >
31
+ <a href =" ../#/ news" ><el-menu-item index =" news" router =" true" >
32
32
<template slot="title">
33
33
<span >News</span >
34
34
</template >
35
35
</el-menu-item ></a >
36
- <a href =" ../pubs" ><el-menu-item index =" publications" router =" true" >
36
+ <a href =" ../#/ pubs" ><el-menu-item index =" publications" router =" true" >
37
37
<template slot="title">
38
38
<span >Publications</span >
39
39
</template >
Original file line number Diff line number Diff line change 10
10
<div >
11
11
<div style =" display :flex ; justify-content :space-around ;" >
12
12
<el-card >
13
- <a href =" ../news" ><h2 class =" link-title" >Recent News</h2 ></a >
13
+ <a href =" ../#/ news" ><h2 class =" link-title" >Recent News</h2 ></a >
14
14
<newsitem class =" news" :item =" news[0]" :index =" 0" />
15
15
</el-card >
16
16
<el-card >
17
- <a href =" ../seminars" ><h2 class =" link-title" >VCR/AI Seminars</h2 ></a >
17
+ <a href =" ../#/ seminars" ><h2 class =" link-title" >VCR/AI Seminars</h2 ></a >
18
18
<seminar class =" news" :seminar =" seminars[0]" :index =" 0" />
19
19
</el-card >
20
20
</div >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import SeminarsPage from '@/components/SeminarsPage'
10
10
Vue . use ( Router )
11
11
12
12
export default new Router ( {
13
- mode : 'history ' ,
13
+ mode : 'hash ' ,
14
14
routes : [
15
15
{
16
16
path : '/' ,
You can’t perform that action at this time.
0 commit comments