docs: update partials file path (#1929)

This commit is contained in:
Marvin Hagemeister
2023-10-13 00:52:07 +02:00
committed by GitHub
parent bb8921ac85
commit a7d3fbf8d9
+1 -1
View File
@@ -101,7 +101,7 @@ export default defineRoute(async (req, ctx) => {
An optimal route that only renders the content instead of the outer layout with An optimal route that only renders the content instead of the outer layout with
the sidebar might look like this respectively. the sidebar might look like this respectively.
```tsx partials/docs/[id].tsx ```tsx routes/partials/docs/[id].tsx
import { defineRoute, RouteConfig } from "$fresh/server.ts"; import { defineRoute, RouteConfig } from "$fresh/server.ts";
import { Partial } from "$fresh/runtime.ts"; import { Partial } from "$fresh/runtime.ts";