Skip to content

Commit 44d04ef

Browse files
committed
[Toolkit][Shadcn] Add missing as props, update CONTRIBUTING.md
1 parent a5ce3a4 commit 44d04ef

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,18 @@ and [the Backward Compatibility Promise](https://symfony.com/doc/current/contrib
7777
When contributing, please make sure to follow these standards and to write tests for your code,
7878
runnable with `php vendor/bin/simple-phpunit`.
7979

80+
#### Generate snapshots for UX Toolkit
81+
82+
If you make changes to a component template or add a new one, create or update the EXAMPLES.md of the component.
83+
Then, you can (re)generate new snapshots by running:
84+
85+
```shell
86+
php vendor/bin/simple-phpunit -d --update-snapshots
87+
```
88+
89+
> [!IMPORTANT]
90+
> Snapshots will not reflect changes if you forget to update the EXAMPLES.md.
91+
8092
### Working with assets
8193

8294
Assets are specific to each Symfony UX package:

0 commit comments

Comments
 (0)