Skip to content

Commit bd84203

Browse files
committed
fix: undo some of nova's breakage
1 parent 843a2ed commit bd84203

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed
File renamed without changes.
File renamed without changes.

src/routes.ts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { RouteDefinition } from '@solidjs/router';
22
import { lazy } from 'solid-js';
3+
import Docs from './pages/Docs';
4+
import NotFound from './pages/NotFound';
35

46
export const routes: RouteDefinition[] = [
57
{
@@ -9,17 +11,18 @@ export const routes: RouteDefinition[] = [
911
{
1012
path: [
1113
'/docs',
12-
'/docs/Guide',
13-
'/docs/Guide/:category',
14-
'/docs/Guide/:category/:page',
15-
'/docs/Documentation',
16-
'/docs/Documentation/:name',
17-
'/docs/Documentation/:name/:version'
14+
'/docs/guide',
15+
'/docs/guide/:category',
16+
'/docs/guide/:category/:page',
17+
'/docs/',
18+
'/docs/:pkg',
19+
'/docs/:pkg/:version',
20+
'/docs/:pkg/:version/:page'
1821
],
19-
component: lazy(() => import('./pages/Docs'))
22+
component: Docs
2023
},
2124
{
2225
path: '*',
23-
component: lazy(() => import('./pages/NotFound'))
26+
component: NotFound
2427
}
2528
];

0 commit comments

Comments
 (0)