Skip to content

Commit

Permalink
minor #1495 [Site] Leveraging Turbo 8 on ux.symfony.com (weaverryan)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x branch.

Discussion
----------

[Site] Leveraging Turbo 8 on ux.symfony.com

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Issues        | None
| License       | MIT

That's all that's needed to use Turbo 8 + view transitions + instaclick-style preloading.

https://github.com/symfony/ux/assets/121003/881dbe3e-5e6c-476b-bf2d-3da836501c18

Commits
-------

c5e8d50 [Site] Leveraging Turbo 8 on ux.symfony.com
  • Loading branch information
weaverryan committed Feb 15, 2024
2 parents 30c8dbc + c5e8d50 commit 6a08c6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ux.symfony.com/assets/controllers.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"@symfony/ux-turbo": {
"turbo-core": {
"enabled": true,
"fetch": "lazy"
"fetch": "eager"
},
"mercure-turbo-stream": {
"enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion ux.symfony.com/importmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
'version' => '2.0.2',
],
'@hotwired/turbo' => [
'version' => '7.3.0',
'version' => '8.0.2',
],
'typed.js' => [
'version' => '2.0.16',
Expand Down
1 change: 1 addition & 0 deletions ux.symfony.com/templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{% if meta.canonical|default %}
<link rel="canonical" href="{{ meta.canonical }}">
{% endif %}
<meta name="view-transition" content="same-origin" />
<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
Expand Down

0 comments on commit 6a08c6c

Please sign in to comment.