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

Use a 404 Page.

### Change Type

- [x] `documentation` — Changes to the documentation only[^2]
pull/2696/head
Steve Ruiz 2024-01-31 13:30:38 +00:00 zatwierdzone przez GitHub
rodzic 34a95b2ec8
commit cbc0649047
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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 () => {