Hide Index when logged in

This commit is contained in:
Jan Bader 2022-04-23 10:49:03 +00:00 committed by Gitea
parent d22816dfd1
commit 8f99499c2f

View File

@ -14,7 +14,12 @@ import Settings from "../pages/Settings.vue";
import WelcomePage from "../pages/WelcomePage.vue";
const routes = [
{ path: "/", name: "Index", component: WelcomePage },
{
path: "/",
name: "Index",
component: WelcomePage,
meta: { hideForAuth: true },
},
{
path: "/dashboard",
name: "Dashboard",