|
|
// ... lines 1 - 11
|
|
<turbo-frame id="cart-sidebar" src="{{ path('_app_cart_product_featured') }}" target="_top"> |
|
Loading... |
|
</turbo-frame> |
|
|
// ... lines 15 - 32
|
See Code Block in Script
|
|
// ... lines 1 - 16
|
|
|
|
{% if showDescription %} |
|
{{ featuredProduct.description }} |
|
{% else %} |
|
{{ featuredProduct.description|u.truncate(25)|trim }}... |
|
|
|
<a |
|
data-turbo-frame="cart-sidebar" |
|
href="{{ path('_app_cart_product_featured', { |
|
description: true, |
|
}) }}">(read more)</a> |
|
{% endif %} |
|
|
|
|
// ... lines 30 - 34
|
See Code Block in Script
|
|
// ... lines 1 - 6
|
|
|
|
script_attributes: |
|
defer: true |
|
'data-turbo-track': reload |
|
link_attributes: |
|
'data-turbo-track': reload |
|
|
// ... lines 13 - 33
|
See Code Block in Script
…from 'turbo-view-transitions';
```
After running 'npm run build' in the console, I get the following error:
```
99% done plugins FriendlyErrorsWebpackPlugin ERROR Failed to compile with 1 errors
Module build failed: Module not found:
"./assets/app.js" contains a reference to the file "turbo-view…
Nice sessions. There is a lot with Symfony that was unknown to me. The Stimulus and turbo are killers.
it is really dangerous now. See you in the next session. Thank you!
…Encore only with the new AssetMapper. Because other tech we teach in this course, like Stimulus, Turbo, Live Components - that's separate things that works standalone no matter if you use Webpack Encore or AssetMapper. I bet you know it, but just to clarify this…
…But if you're looking for Turbo in particular - you can check this course instead: https://symfonycasts.com/screencast/turbo - we're talking about Turbo in more detail there.
But in case you're looking for Stimulus Turbo & Live Componets together - I would also recommend…
Can you reproduce this on your side ?
If yes, then it seems like it's a turbo drive / stimulus bug, isn't it ?
…nicely. We've used Turbo, Stimulus, and Symfony UX Live Components a little, but I want to do a much deeper dive into them so I can get the most out of these impressive technologies. Is this course (and the one on Turbo) still relevant…
…is correct, it is easy to replicate:
- make any controller lazy
- check it without turbo drive, it should work
- enable turbo drive
- go a page refresh on a page where that controller is NOT present
- navigate to a page where the controller IS present, without…
Hey |mention:2342|
That's kind of unexpected, it could be a bug on AssetMapper but I'm not sure. Do your lazy controllers work if you disable Turbo?
No this code block was added automatically. My question is how to remove this default piece of code, because i have `.turbo-progress-bar` defined in my css
Hello there!
Please how I should change the progress bar class properties? I see the class `.turbo-progress-bar` is defined directly in `` included in ``.
Thank you!
…i.e. those are standalone courses about Stimulus and Turbo. They are not required to start this course, so feel free to start with LAST and after it start watching Stimulus and then Turbo to learn those technologies better if needed. We cover some basics…
Hello, planing to take on this course, but i'm curious are these two https://symfonycasts.com/screencast/stimulus and https://symfonycasts.com/screencast/turbo also relevant and recommended to watch (and is it better to do it before this course). Thanks, this seams like…
Do you still recommend LAST-stack? In your new Symfony 7 tutorial you've talked about Stimulus and Turbo, but not about the LAST Stack like in this Symfony 6 tutorial. So my question is, is this tutorial still "up to date" or do you…
…it's me again ;-) i'm still a little bit confused as i'm playing around **LiveComponents** and **Turbo Streams** i sense some similarities there can you explain what is the benefit of using one over the other or when to use what? My scenario:…
The submit() call work perfectly but the redirection from controller after form been submitted and validated ( `$form->isSubmitted() && $form->isValid()` ) doesn't go to the turbo-frame.
In other words, when you click manually on an submit button without interrupt the submitting process with (event…
…video.
I don't see any error and I don't see any affects (4:50) - page loading styles.
Just in case I copied homepage.html.twig from your script.
Turbo - works , I don't see any errors in browser console.
How to investigate issue…
Hi,
What do you think, Is it possible with Hotwire (Stimulus, Turbo) create "frontend" for existing API?
I mean when you limited by json format data. I think it's possible but very complicated and will be better to use something like React or Vue…
x
682