[Examples] Add a stupid 404 page (#2694)

Use a 404 Page.

### Change Type

- [x] `documentation` — Changes to the documentation only[^2]
This commit is contained in:
Steve Ruiz 2024-01-31 13:30:38 +00:00 committed by GitHub
parent 34a95b2ec8
commit cbc0649047
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: <div>404</div>,
},
{
path: '/',
lazy: async () => {