Skip to content

[TwigComponent] Support for SubDirectory-named components via namespace config #1151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

smnandre
Copy link
Member

cc #1140

@smnandre smnandre force-pushed the twig-autonaming-paths-anonymous branch from c83e28d to 83ace69 Compare October 2, 2023 19:33
@smnandre smnandre requested a review from weaverryan October 2, 2023 22:10
@smnandre smnandre force-pushed the twig-autonaming-paths-anonymous branch from 4d68e5f to 0566332 Compare October 3, 2023 16:07
@smnandre smnandre force-pushed the twig-autonaming-paths-anonymous branch from 6c94645 to 6c8c544 Compare October 3, 2023 18:08
```
twig_component:
    anonymous_template_directory: 'components/'
    defaults:
        # Namespace & directory for components
        App\Twig\Components: 'components/'
```

Co-authored-by: Simon André <smn.andre@gmail.com>
@smnandre smnandre force-pushed the twig-autonaming-paths-anonymous branch from 6c8c544 to 0284c0a Compare October 3, 2023 18:11
@weaverryan
Copy link
Member

Thank you Simon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants