🐛 Fixes stupid 404
This commit is contained in:
@@ -7,6 +7,7 @@ import "./index.css";
|
|||||||
const routes = [
|
const routes = [
|
||||||
{ path: "/", component: Home },
|
{ path: "/", component: Home },
|
||||||
{ path: "/playground", component: Playground },
|
{ path: "/playground", component: Playground },
|
||||||
|
{ path: "/:pathMatch(.*)*", redirect: "/" },
|
||||||
];
|
];
|
||||||
|
|
||||||
const router = VueRouter.createRouter({
|
const router = VueRouter.createRouter({
|
||||||
|
Reference in New Issue
Block a user