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
13,082
questions
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",
&...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
-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 ...
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 (/) ...
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 ...
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/...
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 ...
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;
});
...
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 ...
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, ...