Skip to content
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

Vue Component #22

Closed
TavoNiievez opened this issue Dec 7, 2020 · 2 comments
Closed

Vue Component #22

TavoNiievez opened this issue Dec 7, 2020 · 2 comments

Comments

@TavoNiievez
Copy link

TavoNiievez commented Dec 7, 2020

Would it be possible to create a component for Symfony UX that does what Inertia JS currently does?

ie, hydrate the props of a Vue component from the server-side with Symfony/PHP, and render that same component in a Twig template with some twig helper function ?

@TavoNiievez TavoNiievez changed the title Vue ¿Component Vue Component Dec 7, 2020
@tgalopin
Copy link
Contributor

tgalopin commented Dec 7, 2020

Hi!

"Live" templating is a domain we are looking into. However, it's important IMO that 1/ we don't hide any JavaScript (like Livewire tends to do) as our aim should not be to replace JavaScript by PHP just for the sake of it and 2/ we should always use standard protocols that can be used by another JS implementation, so that one could use it without Stimulus if useful.

There are interesting ideas to have a look at, it's something we are working on. If you or someone else has ideas, feel free to ping me!

@Kocal
Copy link
Member

Kocal commented Sep 23, 2022

Can be closed since #426

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

No branches or pull requests

4 participants