Skip to content

Commit

Permalink
web: Sort head tags for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
schneefux committed Dec 30, 2024
1 parent 66d1684 commit 996a050
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/renderer/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { createPersistedState } from 'pinia-plugin-persistedstate'
import VueGtagPlugin, { query } from 'vue-gtag'
import { createI18n, I18n } from 'vue-i18n'
import { ClientOnly } from '@schneefux/klicker/components'
import { createHead } from '@unhead/vue'
import { CapoPlugin, createHead } from '@unhead/vue'
import { InferSeoMetaPlugin } from '@unhead/addons'
import { defaultLocale, locales } from '~/locales'
import { createRouter } from './router'
Expand Down Expand Up @@ -56,6 +56,7 @@ function createApp(pageContext: PageContext) {
const head = createHead({
plugins: [
InferSeoMetaPlugin(),
CapoPlugin({}), // sort head tags
],
})
head.push({
Expand Down

0 comments on commit 996a050

Please sign in to comment.