diff --git a/src/components/navbar.vue b/src/components/navbar.vue index 3a8f95b..57a54a5 100644 --- a/src/components/navbar.vue +++ b/src/components/navbar.vue @@ -7,10 +7,8 @@ - - Analyse - Import - Postes + + Config diff --git a/src/router.js b/src/router.js index 3ac6dbe..2087777 100644 --- a/src/router.js +++ b/src/router.js @@ -1,6 +1,6 @@ import Vue from 'vue' import Router from 'vue-router' -import home from './views/Home.vue' +import home from './views/home.vue' Vue.use(Router) @@ -12,28 +12,12 @@ export default new Router({ component: home }, { - path: '/analysis', - name: 'analysis', + path: '/config', + name: 'config', // route level code-splitting - // this generates a separate chunk (import.[hash].js) for this route + // this generates a separate chunk (config.[hash].js) for this route // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "import" */ './views/analysis.vue') - }, - { - path: '/import', - name: 'import', - // route level code-splitting - // this generates a separate chunk (import.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "import" */ './views/import.vue') - }, - { - path: '/postes', - name: 'postes', - // route level code-splitting - // this generates a separate chunk (postes.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "postes" */ './views/postes.vue') + component: () => import(/* webpackChunkName: "config" */ './views/config.vue') } ] }) diff --git a/src/views/Home.vue b/src/views/Home.vue deleted file mode 100644 index ee38e33..0000000 --- a/src/views/Home.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/src/views/postes.vue b/src/views/config.vue similarity index 100% rename from src/views/postes.vue rename to src/views/config.vue diff --git a/src/views/analysis.vue b/src/views/home.vue similarity index 98% rename from src/views/analysis.vue rename to src/views/home.vue index 8e74c5d..28d7cbf 100644 --- a/src/views/analysis.vue +++ b/src/views/home.vue @@ -20,7 +20,7 @@ import { mapGetters } from 'vuex' export default { - name: 'analysis', + name: 'home', components: { }, data () { diff --git a/src/views/import.vue b/src/views/import.vue deleted file mode 100644 index 10c3ca4..0000000 --- a/src/views/import.vue +++ /dev/null @@ -1,5 +0,0 @@ -