diff --git a/cypress/e2e/about.cy.ts b/cypress/e2e/about.cy.ts
index e766932..64f656e 100644
--- a/cypress/e2e/about.cy.ts
+++ b/cypress/e2e/about.cy.ts
@@ -2,7 +2,7 @@ describe("About page", () => {
it("displays information after navigating to tab", () => {
cy.visit("/");
- cy.contains("About").click();
+ cy.contains("About").click({ force: true });
cy.contains("Upstate / Greenville SC Open Data Map Layers Demo");
});
diff --git a/src/router/index.ts b/src/router/index.ts
index d8be488..e87d4d6 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,5 +1,6 @@
import { createRouter, createWebHistory } from "vue-router";
import MapView from "../views/MapView.vue";
+import NotFoundView from "../views/NotFoundView.vue";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -17,6 +18,11 @@ const router = createRouter({
// which is lazy-loaded when the route is visited.
component: () => import("../views/AboutView.vue"),
},
+ {
+ path: "/:pathMatch(.*)",
+ name: "404",
+ component: NotFoundView,
+ },
],
});
diff --git a/src/views/NotFoundView.vue b/src/views/NotFoundView.vue
new file mode 100644
index 0000000..565c601
--- /dev/null
+++ b/src/views/NotFoundView.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+