mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
docs: updated plugin-specific docs
This commit is contained in:
parent
40a465c54b
commit
b4ab88d531
@ -20,7 +20,7 @@ npm install github:quartz-community/explorer --legacy-peer-deps
|
|||||||
Then import it in your `quartz.layout.ts`:
|
Then import it in your `quartz.layout.ts`:
|
||||||
|
|
||||||
```typescript title="quartz.layout.ts"
|
```typescript title="quartz.layout.ts"
|
||||||
import { Explorer } from "@quartz-community/explorer/components"
|
import { Explorer } from "@quartz-community/explorer"
|
||||||
|
|
||||||
// Create once and reuse
|
// Create once and reuse
|
||||||
const explorerComponent = Explorer()
|
const explorerComponent = Explorer()
|
||||||
|
|||||||
@ -23,7 +23,7 @@ npm install github:quartz-community/graph --legacy-peer-deps
|
|||||||
Then import it in your `quartz.layout.ts`:
|
Then import it in your `quartz.layout.ts`:
|
||||||
|
|
||||||
```typescript title="quartz.layout.ts"
|
```typescript title="quartz.layout.ts"
|
||||||
import { Graph } from "@quartz-community/graph/components"
|
import { Graph } from "@quartz-community/graph"
|
||||||
|
|
||||||
// Create once and reuse
|
// Create once and reuse
|
||||||
const graphComponent = Graph()
|
const graphComponent = Graph()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user