@@ -11,7 +11,7 @@ Preact component. Only one such layout is allowed per sub directory.
|
|||||||
└── routes
|
└── routes
|
||||||
├── sub
|
├── sub
|
||||||
│ ├── page.tsx
|
│ ├── page.tsx
|
||||||
│ └── index.tss
|
│ └── index.tsx
|
||||||
├── other
|
├── other
|
||||||
│ ├── _layout.tsx # will be applied on top of `routes/_layout.tsx`
|
│ ├── _layout.tsx # will be applied on top of `routes/_layout.tsx`
|
||||||
│ └── page.tsx
|
│ └── page.tsx
|
||||||
@@ -90,7 +90,7 @@ structure like this:
|
|||||||
├── sub
|
├── sub
|
||||||
│ ├── _layout_.tsx
|
│ ├── _layout_.tsx
|
||||||
│ ├── special.tsx # should not inherit layouts
|
│ ├── special.tsx # should not inherit layouts
|
||||||
│ └── index.tss
|
│ └── index.tsx
|
||||||
└── _layout.tsx
|
└── _layout.tsx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user