Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [nuxt.js]

Nuxt.js is a framework for creating Vue.js applications, you can choose between Universal, Static Generated or Single Page application (inspired by Next.js)

nuxt.js
1 vote
0 answers
21 views

How to use AOS and loadash in the nuxt3.12؟؟

I installed two packages "Nuxt-aos" and "lodash" with pnpm libraries into my project and after that, I added these two to my nuxt.config.ts: modules: [ "nuxt-aos", &...
AmirrezaJM's user avatar
0 votes
0 answers
31 views

Nuxt flashing an empty version of the current page before navigating to the new one

I've got a strange bug with my Nuxt site where I have a list of data. When the user clicks on 'View' it's meant to navigate to a page with further details. It does this, but before it shows the new ...
user26240703's user avatar
0 votes
0 answers
18 views

min is undefined in leaflet.src.js

I'm trying to load geojson layers in leaflet map using "leaflet-vectorgrid" plugin. but when ever i hover or click over the loaded layers, we'll get the error that says "min is ...
Amirhossein Barzegar's user avatar
0 votes
0 answers
23 views

Set a cookie on the parent domain from a sub-domain

I am implementing my admin panel using vuejs and my website using nuxtjs. After logging into the panel I receive an Authorization token from the API. I want to pass that token to the website, So I ...
NyF__'s user avatar
  • 33
0 votes
0 answers
36 views

Nuxt 3: Page Title Appears as <title>undefined</title> in Google

I'm working on a Nuxt 3 project, and I've encountered an issue where Google search results display my page title as undefined, even though the title appears correctly in the HTML tags. Below is the ...
Carlos Valdes Web's user avatar
0 votes
1 answer
23 views

Nuxt.js form submits with every data change

I have this form: <template> <div class="flex flex-col mt-[5rem] gap-4 p-4 items-center max-w-4xl mx-auto"> <form id="inquiry" class="flex ...
Jacob Miller's user avatar
0 votes
1 answer
19 views

Saving the created Varnish cache on Nuxt Vue.js releases

With Nuxt Vue.js releases, the names of the set of js-files change, making the accumulated Varnish cache irrelevant. This causes the Varnish cache to start rebuilding after each release. Is there a ...
Sartakov Dmytro's user avatar
-1 votes
0 answers
17 views

Nuxt - Nuxt type is not infered by my modules

this is the situation, my useRouter should consider the useRouter type from .nuxt types, but it's not when I run the build command using nuxt-build-module: I really would like to know how I can solve ...
Jhony Souza's user avatar
0 votes
1 answer
34 views

Nuxt.js application generating only index.html

I am facing an issue with my Nuxt.js application, which is deployed on an S3 bucket. Despite the configuration, only the index.html page is being generated, and any route other than the root (/) ...
Jean-baptiste REVEL's user avatar
0 votes
0 answers
15 views

NuxtJS Auto Imports

NuxtJS has Auto Imports. I added a new directory named "workflows" which has code like this: test_tasks.ts export const task1 = { name: "Task 1", description: "This ...
Ryan Glenn's user avatar
  • 1,406
0 votes
0 answers
28 views

How do I load CSS from node_modules dynamically in Nuxt 3?

I am trying it like this: loadFont(font: Font) { if (state.fontsToLoad.includes(font)) return switch (font) { case "poppins": { import("@fontsource/...
oemera's user avatar
  • 3,443
1 vote
1 answer
30 views

Supabase oauth redirectUrl not working | Nuxt 3

I'm trying to set up authentication in Supabase using GitHub OAuth. The issue is that after clicking the login button, nothing happens! when I try to access a restricted link I am redirected to the ...
Daly's user avatar
  • 285
0 votes
0 answers
33 views

Is there any downside to using Lifecycle hooks in pinia store actions?

I discovered that this is working without a problem: Store.ts function setParentRoute(route: Route | undefined) { onBeforeMount(() => { parentRoute.value = route; }); ...
xTheWolf's user avatar
  • 1,846
1 vote
0 answers
91 views

[email protected]: The engine "node" is incompatible with this module. Expected ver

error [email protected]: The engine "node" is incompatible with this module. Expected version "^18.12.0 || ^20.9.0 || >=22.0". Got "16.18.0" error Found incompatible ...
Bunyod Bunyod's user avatar
0 votes
1 answer
92 views

In Nuxt 3, how to navigate to a login page if any REST endpoint returns 401?

I am using Nuxt 3 with server-side rendering. For REST requests, I use Axios. When an user logs in, a refresh token cookie is saved in the browser. Then for all requests to any of the REST endpoints, ...
Bjørn Stenfeldt's user avatar

15 30 50 per page
1
3 4
5
6 7
873