Skip to content

Commit 6c94645

Browse files
committed
Update documentation
1 parent 98601a8 commit 6c94645

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/TwigComponent/doc/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ file to control the template directory for your components:
6666
```
6767
# config/packages/twig_component.yaml
6868
twig_component:
69+
anonymous_template_directory: 'components/'
6970
defaults:
70-
# default component template directory
71-
App\Twig\Components\: 'components/'
71+
# Namespace & directory for components
72+
App\Twig\Components: 'components/'
7273
```
7374

7475
Component Basics

0 commit comments

Comments
 (0)