Top "Nuxt.js" questions

Nuxt.

How to listen to scroll events in vue nuxtjs?

I've search for a solution and came up with this code methods: { handleScroll () { console.log(window.scrollY) } }, created () { window.addEventListener(…

vue.js nuxt.js
How to embed font to all page with nuxt js

I just embed google font to the global setting in nuxt.config.js link: [ { rel: 'stylesheet', href: 'https://fonts.googleapis.…

vue.js vuex nuxt.js
NUXT- assets and static folder - when to use which?

Being new to NUXT, I am a bit confused about the difference between the assets and static folders. in the …

webpack nuxt.js
nuxt build --spa vs nuxt generate

What is the difference between nuxt build vs nuxt generate vs nuxt build --spa I am trying to compile three …

vue.js nuxt.js
Global components in Vue (nuxt)

While building a Vue application we re-use certain Vue components in every template. Our grid system exists out of .region, .…

javascript ecmascript-6 vuejs2 nuxt.js
Nuxt.js - How to use component inside layout?

So I started playing around with Nuxt.js. I want to modify the default layout file to have a header …

javascript vue.js vuejs2 nuxt.js
Understanding State and Getters in Nuxt.js: Getters won't working

i'm new to Vue and Nuxt and i'm building my first website in Universal mode with these framework. I'm a …

vue.js vuex nuxt.js
setup Google Analytics 4 in nuxt.js

I'm having issues setting up a new Google Analytics 4 (GA4) account with Nuxt. Everything seems configured ok based on tutorials, …

google-analytics nuxt.js google-analytics-4
Props should at least define their types

<template> <div v-editable="blok" class="util__flex"> <component v-for="blok in blok.columns" :key="blok._…

vue.js vue-component eslint nuxt.js storyblok
Nuxt + Vuetify. How to apply theme colors

I am using a Nuxt.js + Vuetify.js project Looking at the file assets/style/app.styl we have // Import …

vue.js vuetify.js nuxt.js