mirror of
https://github.com/Dannecron/ich-lerne-deutsch.git
synced 2025-12-25 12:52:35 +03:00
Drop unused words page
This commit is contained in:
@@ -76,11 +76,6 @@ export default {
|
||||
title: 'Статьи',
|
||||
route: '/articles',
|
||||
},
|
||||
{
|
||||
icon: 'extension',
|
||||
title: 'Учить слова',
|
||||
route: '/words',
|
||||
},
|
||||
{
|
||||
icon: 'account_circle',
|
||||
title: 'Мой профиль',
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2>Words</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
export default {
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user