setup Google Analytics 4 in nuxt.js

[UPDATE] If you want to use GA4 Property (which is what has the ids in the format G-XXXXXXXXXX) you can try to use vue-gtag package by creating a plugin: import Vue from ‘vue’ import VueGtag from ‘vue-gtag’ Vue.use(VueGtag, { config: { id: ‘G-XXXXXXXXXX’ } }) Add this in nuxtconfig.js plugins: [‘@/plugins/gtag’] About the problem indicated … Read more

How to disable vue/multi-word-component-names eslint rule for just one .vue file?

In your case, you can replace ‘vue/multi-word-component-names’: ‘off’ with: ‘vue/multi-word-component-names’: [‘error’, { ‘ignores’: [‘default’] }] this will set the rule to ‘allow’ for all files named ‘default’ you can read more about it here: https://eslint.vuejs.org/rules/multi-word-component-names.html

How to run NUXT (npm run dev) with HTTPS in localhost?

HTTPS on local dev – NUXT style Solution is described in NUXT documentation: https://nuxtjs.org/api/configuration-server/#example-using-https-configuration This may be achieved with: Go to project main dir; Create private and public key; openssl genrsa 2048 > server.key chmod 400 server.key openssl req -new -x509 -nodes -sha256 -days 365 -key server.key -out server.crt Add requirements to the top of … Read more

techhipbettruvabetnorabahisbahis forumueduseduedueduedusedusedueduseduedus