From cbc064904702fffc6320079648aabee3d61d13f8 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Wed, 31 Jan 2024 13:30:38 +0000 Subject: [PATCH] [Examples] Add a stupid 404 page (#2694) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use a 404 Page. ### Change Type - [x] `documentation` — Changes to the documentation only[^2] --- apps/examples/src/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/examples/src/index.tsx b/apps/examples/src/index.tsx index 023665354..7689f2c32 100644 --- a/apps/examples/src/index.tsx +++ b/apps/examples/src/index.tsx @@ -24,6 +24,10 @@ const basicExample = gettingStartedExamples.value.find((e) => e.title === 'Basic if (!basicExample) throw new Error('Could not find basic example') const router = createBrowserRouter([ + { + path: '*', + element:
404
, + }, { path: '/', lazy: async () => {