symfony / stimulus-bridge

Stimulus integration bridge for Symfony projects
https://symfony.com/ux
75 stars 15 forks source link

Allowing the controller name to be overridden by the package or the user #70

Closed weaverryan closed 2 years ago

weaverryan commented 2 years ago

This is needed for live components, where the controller name needs to be simply live... else it will be super annoying to use :).

Allowing the user to also override the controller name... isn't really needed... but if the user does this, I think they know they are on their own.

This COULD actually replace #69... as a package could add, for example, name: 'symfony/ux-typed' to change the name to a shorter version.

tgalopin commented 2 years ago

Thanks @weaverryan.