Skip to content

Commit e06589b

Browse files
authored
Suggesting attribute for Turbo users (#943)
1 parent 6ed1690 commit e06589b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

symfony/webpack-encore-bundle/1.9/config/packages/webpack_encore.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ webpack_encore:
77
# Set attributes that will be rendered on all script and link tags
88
script_attributes:
99
defer: true
10+
# Uncomment (also under link_attributes) if using Turbo Drive
11+
# https://turbo.hotwire.dev/handbook/drive#reloading-when-assets-change
12+
# 'data-turbo-track': reload
1013
# link_attributes:
14+
# Uncomment if using Turbo Drive
15+
# 'data-turbo-track': reload
1116

1217
# If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
1318
# crossorigin: 'anonymous'

0 commit comments

Comments
 (0)