Omnislash
Switching from vue-i18n to @nuxtjs/i18n — Folder Structure & Dynamic Imports Issue
Here you go, second answer with one just one upvote :
https://stackoverflow.com/questions/48861001/multiple-translations-files-per-language-with-vue-i18n-and-nuxtjs
14 replies
Does anyone have a great eslint+typescript Nuxt 3 setup?
I forgot why, but I wanted high control and the stylistic options weren't working how I was expecting it.
Did it that way, and works great now :
https://ptb.discord.com/channels/473401852243869706/1293909163587534930/1313413917158015036
10 replies
useScriptGoogleTagManager no dataLayer push function
@kapa.ai
Hello,
I'm following this :
https://scripts.nuxt.com/scripts/tracking/google-tag-manager
When I try this :
dataLayer doesn't exist, it's in proxy.google_tag_manager.dataLayer instead, and it's different.
If I try to call push from it :
Property 'push' does not exist on type 'AsAsyncFunctionValues<{ gtmDom: boolean; gtmLoad: boolean; subscribers: number; }>'
How to get the dataLayer ?
Thanks 🙂
11 replies
useScriptGoogleTagManager returns void
@kapa.ai if I try nuxi prepare, it says :
PS D:\Projects\tm-website> nuxi prepare
nuxi : The term 'nuxi' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
I know it's the right folder
27 replies
useScriptGoogleTagManager returns void
@kapa.ai
I installed scripts with : npx nuxi@latest module add scripts
I just added import { useScriptGoogleTagManager } from '#imports' at the top of my file
still the same problem :
Property 'proxy' does not exist on type 'void'.ts(2339)
27 replies