Skip to content

Commit

Permalink
test gouvfr module and nomudule
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienMLD committed Feb 29, 2024
1 parent c467a36 commit 93a981f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/application/_head.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
= tarteaucitron_script_application
= stylesheet_link_tag 'application', media: 'all', data: { 'turbo-track': 'reload' }
%link{ rel: 'stylesheet', media: 'all', href: '/assets/@gouvfr/dsfr/dist/dsfr.min.css' }
%script{ src: '/assets/@gouvfr/dsfr/dist/js/dsfr.module.min.js', type: 'module', data: { 'turbo-track': 'reload' }, nonce: true }
%script{ src: '/assets/@gouvfr/dsfr/dist/js/dsfr.nomodule.min.js', type: 'text/javascript', nomodule: '', data: { 'turbo-track': 'reload' }, nonce: true }
= stylesheet_link_tag 'https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css'
= javascript_include_tag 'gouvfr-module', type: 'module', data: { 'turbo-track': 'reload' }, nonce: true
= javascript_include_tag 'gouvfr-nomodule', type: 'text/javascript', nomodule: '', data: { 'turbo-track': 'reload' }, nonce: true
= javascript_include_tag 'application', data: { 'turbo-track': 'reload' }, type: "module", nonce: true

= javascript_include_tag 'https://browser.sentry-cdn.com/6.19.6/bundle.min.js', crossorigin: 'anonymous', integrity: "sha512-EnfWeHgbnvVl/d9JaR0pAznICi6nLymkzFdWjd51e/Xxl6j6zekri6WtRFeT2RRrQoZOakJpJcak3O2a2hf25A==", data: { 'turbo-track': 'reload' }, nonce: true
Expand Down

0 comments on commit 93a981f

Please sign in to comment.