kopia lustrzana https://github.com/Tldraw/Tldraw
[Examples] Add a stupid 404 page (#2694)
Use a 404 Page. ### Change Type - [x] `documentation` — Changes to the documentation only[^2]pull/2696/head
rodzic
34a95b2ec8
commit
cbc0649047
|
@ -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 () => {
|
||||
|
|
Ładowanie…
Reference in New Issue