docs: fix app wrapper docs (#1713)

This commit is contained in:
jia wei
2023-09-01 16:02:13 +02:00
committed by GitHub
parent 4a4af1f915
commit f9ab05f7ea
+5 -3
View File
@@ -94,9 +94,11 @@ Rendering the app wrapper can be skipped on a route or layout basis. To do that,
set `skipAppWrapper: true` to the layout or route config.
```tsx routes/my-special-route.tsx
export const config: RouteConfig {
skipAppWrapper: true; // Skip the app wrapper during rendering
}
import { RouteConfig } from "$fresh/server.ts";
export const config: RouteConfig = {
skipAppWrapper: true, // Skip the app wrapper during rendering
};
export default function Page() {
// ...