Added back <router-view></router-view>

This commit is contained in:
FrankSafelite 2021-10-20 20:37:20 -04:00
parent 19bbe682f7
commit eaaf665e48
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
<template>
<router-view></router-view>
<div class="container-fluid">
<div class="row">
<div class="col my-3 d-flex justify-content-center">

View file

@ -35,7 +35,7 @@ async function GoToDynamicRoute(to, next) {
let routeData = await getRouteData(to.path).catch((exp) => {
console.log(exp);
next({ name: "NotFound" });
next({ name: "NotFound" }); // Go to 404.
});
// Add our dynamic route.
@ -47,7 +47,7 @@ async function GoToDynamicRoute(to, next) {
next(to.fullPath);
} else {
next();
next(); // Home (/) and NotFound (/not-found) will always resolve.
}
}