Last active
October 6, 2024 09:56
-
-
Save jackbarham/8f76407294aebc78e62b3bb155bd476c to your computer and use it in GitHub Desktop.
Revisions
-
jackbarham revised this gist
Oct 6, 2024 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,13 +22,13 @@ export default defineNuxtConfig({ // Preload the Adobe Typekit CSS to avoid render-blocking { rel: 'preload', href: 'https://use.typekit.net/abababab.css', as: 'style', }, // Load the Adobe Typekit CSS asynchronously to avoid render-blocking { rel: 'stylesheet', href: 'https://use.typekit.net/abababab.css', onload: 'this.rel="stylesheet"', media: 'print', }, @@ -44,7 +44,7 @@ export default defineNuxtConfig({ ], script: [ { src: 'https://use.typekit.net/abababab.js', async: true, defer: true, }, -
jackbarham renamed this gist
Oct 6, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jackbarham renamed this gist
Oct 6, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jackbarham created this gist
Oct 6, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,58 @@ export default defineNuxtConfig({ compatibilityDate: '0000-00-00', devtools: { enabled: true }, modules: [ // ], app: { head: { htmlAttrs: { lang: 'en', }, title: 'Website title', meta: [ { name: 'description', content: 'Website description' } ], link: [ // Preload the Adobe Typekit CSS to avoid render-blocking { rel: 'preload', href: 'https://use.typekit.net/ztp5pvp.css', as: 'style', }, // Load the Adobe Typekit CSS asynchronously to avoid render-blocking { rel: 'stylesheet', href: 'https://use.typekit.net/ztp5pvp.css', onload: 'this.rel="stylesheet"', media: 'print', }, { rel: 'preconnect', href: 'https://use.typekit.net', }, { rel: 'preconnect', href: 'https://p.typekit.net', crossorigin: 'anonymous', }, ], script: [ { src: 'https://use.typekit.net/ztp5pvp.js', async: true, defer: true, }, { innerHTML: 'try{Typekit.load({ async: true });}catch(e){}', type: 'text/javascript', }, ], } } })