fanzhen 1022
This commit is contained in:
@@ -1,17 +1,51 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import Index from '@/views/index/Index.vue'
|
||||
// 导航
|
||||
import Nav from '@/components/nav/Nav.vue'
|
||||
// 页脚信息
|
||||
import FooterInfor from '@/components/footerInfor/FooterInfor.vue'
|
||||
// 公司介绍
|
||||
import CmpanyIntroduction from '@/views/companyIntroduction/CompanyIntroduction.vue'
|
||||
// 联系我们
|
||||
import Relation from '@/views/relation/Relation.vue'
|
||||
// 个人中心
|
||||
import PersonalCenter from '@/views/personalCenter/PersonalCenter.vue'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
export default new Router({
|
||||
mode: 'history',
|
||||
base: process.env.BASE_URL,
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'index',
|
||||
component: Index
|
||||
}
|
||||
routes: [{
|
||||
path: '/',
|
||||
name: 'index',
|
||||
component: Index
|
||||
},
|
||||
{
|
||||
path: '/nav',
|
||||
name: 'nav',
|
||||
component: Nav
|
||||
},
|
||||
{
|
||||
path: '/footerInfor',
|
||||
name: 'footerInfor',
|
||||
component: FooterInfor
|
||||
},
|
||||
{
|
||||
path: '/companyIntroduction',
|
||||
name: 'companyIntroduction',
|
||||
component: CmpanyIntroduction
|
||||
},
|
||||
{
|
||||
path: '/relation',
|
||||
name: 'relation',
|
||||
component: Relation
|
||||
},
|
||||
{
|
||||
path: '/personalCenter',
|
||||
name: 'personalCenter',
|
||||
component: PersonalCenter
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user