www: Various documentation improvements (#1635)

Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
This commit is contained in:
Marvin Hagemeister
2023-08-16 16:24:53 +02:00
committed by GitHub
co-authored by Reed von Redwitz
parent 794c8ac10c
commit b2362da281
14 changed files with 275 additions and 137 deletions
-17
View File
@@ -1,17 +0,0 @@
import { RouteConfig } from "$fresh/server.ts";
export const config: RouteConfig = {
skipAppTemplate: false,
};
export default function OverridePage() {
return (
<html>
<body>
<p class="no-app">
no <pre>_app.tsx</pre> template
</p>
</body>
</html>
);
}
@@ -1,7 +1,7 @@
import { LayoutConfig, LayoutProps } from "$fresh/server.ts";
export const config: LayoutConfig = {
skipAppTemplate: true,
skipAppWrapper: true,
};
export default function OverrideLayout({ Component }: LayoutProps) {
@@ -1,7 +1,7 @@
import { RouteConfig } from "$fresh/server.ts";
export const config: RouteConfig = {
skipAppTemplate: true,
skipAppWrapper: true,
};
export default function OverridePage() {
@@ -1,7 +1,7 @@
import { LayoutConfig } from "$fresh/server.ts";
export const config: LayoutConfig = {
skipAppTemplate: true,
skipAppWrapper: true,
skipInheritedLayouts: true,
};