aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/docs/app/routes
diff options
context:
space:
mode:
authorNtskwK <natsukawa247@outlook.com>2026-01-29 10:15:55 +0800
committerNtskwK <natsukawa247@outlook.com>2026-01-29 10:15:55 +0800
commitc309904c5ab5394938e92bb139fc0c40d87de055 (patch)
treee13349d0cf894979e6eaab0c47d7f05baec2c295 /packages/docs/app/routes
parenta87268d575ec98d6986d6bc80bc8c41cf27e11c0 (diff)
downloadDropOut-c309904c5ab5394938e92bb139fc0c40d87de055.tar.gz
DropOut-c309904c5ab5394938e92bb139fc0c40d87de055.zip
feat(docs): enhance error boundary UI and add 404 page
Diffstat (limited to 'packages/docs/app/routes')
-rw-r--r--packages/docs/app/routes/not-found.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/docs/app/routes/not-found.tsx b/packages/docs/app/routes/not-found.tsx
new file mode 100644
index 0000000..1d9e041
--- /dev/null
+++ b/packages/docs/app/routes/not-found.tsx
@@ -0,0 +1,7 @@
+export function loader() {
+ throw new Response('Not Found', { status: 404 });
+}
+
+export default function NotFound() {
+ return null;
+}