🐛 Fixes stupid 404
This commit is contained in:
1 parent
1a595f0613
commit
5cd6047f06
1 file changed
+1
@@ -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