Skip to content

Commit

Permalink
perf: some more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 1, 2024
1 parent b1bf2b6 commit b9237c3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ useServerHead({
lang: 'en',
},
link: [
{
rel: 'preconnect',
href: 'https://fonts.bunny.net'
},
{
rel: 'canonical',
href: joinURL(`https://page-speed.dev`, domain.value)
Expand Down
11 changes: 10 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@unocss/nuxt', 'nuxt-og-image', 'nuxt-time'],
experimental: {
appManifest: false,
payloadExtraction: false,
},
site: {
url: 'https://page-speed.dev',
},
Expand Down Expand Up @@ -55,7 +59,12 @@ export default defineNuxtConfig({
unocss: {
webFonts: {
fonts: {
sans: ['Roboto'],
sans: [
{
name: 'Roboto',
provider: 'bunny'
}
],
}
}
},
Expand Down

0 comments on commit b9237c3

Please sign in to comment.