docs: update partials file path (#1929)
This commit is contained in:
@@ -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";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user