Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit d912eae

Browse files
committed
docs: tweaks
1 parent f345d74 commit d912eae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/client-api/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ We strongly recommend that you read the [Getting Started](../guide/getting-start
1010

1111
## $pagination
1212

13+
::: warning WARN
14+
Note that if you're accessing `$pagination` at a route which doesn't match any classification, the value of
15+
`$pagination` will be `null`.
16+
17+
So when you develop layout components, you need to verify that `$pagination` exists.
18+
:::
19+
20+
1321
### $pagination.pages
1422

1523
Matched pages for current route. example:

0 commit comments

Comments
 (0)