diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue index 9439231..859c9ec 100644 --- a/src/components/AppHeader.vue +++ b/src/components/AppHeader.vue @@ -76,11 +76,6 @@ export default { title: 'Статьи', route: '/articles', }, - { - icon: 'extension', - title: 'Учить слова', - route: '/words', - }, { icon: 'account_circle', title: 'Мой профиль', diff --git a/src/router.js b/src/router.js index 6280a6b..15233c9 100644 --- a/src/router.js +++ b/src/router.js @@ -30,11 +30,6 @@ const router = new Router({ props: true, component: () => import(/* webpackChunkName: "articles/article_part" */ '@/views/ArticlePart'), }, - { - path: '/words', - name: 'words', - component: () => import(/* webpackChunkName: "words" */ '@/views/Words'), - }, { path: '/profile', name: 'profile', @@ -65,9 +60,9 @@ router.beforeEach((to, from, next) => { if (to.matched.some(route => route.meta.authRequired)) { return user ? next() : next('/sign_in'); } - + return next(); }) -}) +}); export default router; diff --git a/src/views/Words.vue b/src/views/Words.vue deleted file mode 100644 index dd40226..0000000 --- a/src/views/Words.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - -