Skip to content

Commit 4c49ff7

Browse files
authored
docs: add note about Astro client:only components (unocss#2327)
1 parent 134aa79 commit 4c49ff7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/astro/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export default {
4646

4747
for more details, please refer to the [Vite plugin](../vite).
4848

49+
## Notes
50+
51+
[`client:only`](https://docs.astro.build/en/reference/directives-reference/#clientonly) components must be placed in [`components`](https://docs.astro.build/en/core-concepts/project-structure/#srccomponents) folder or added to UnoCSS's `extraContent` config in order to be processed.
52+
4953
## License
5054

5155
MIT License © 2021-PRESENT [Anthony Fu](https://github.com/antfu)

0 commit comments

Comments
 (0)