Skip to content

Bad performance for web core vitals with Google scripts #1368

Discussion options

You must be logged in to vote

Solved by overwriting the nuxt-vuefire module plugin for AppCheck.

Instead to configure the AppCheck in nuxt.config.ts I just copy the client plugin code to my Nuxt 3 project in /plugins/appCheck.client.ts and use page-interaction-listener to just call VueFireAppCheck({ ... }).(firebaseApp, nuxtApp.vueApp) when page receive interaction. This fixed the TBT problem about Google's scripts.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by igorjacauna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant