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,042
questions
0
votes
0
answers
6
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
13
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
12
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
22
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
21
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
0
answers
16
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
16
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
13
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
19
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
13
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 ...
-2
votes
0
answers
20
views
Error in Nuxt project: TypeError: Cannot read properties of undefined (reading 'props') [closed]
I have an error when I run my project. In the console it doesn't show any errors. But in the browser it shows this:
algo
It is not any of my components as such.
What I can do?
algo
algo
algo
algo
...
0
votes
0
answers
20
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
20
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
19
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;
});
...
0
votes
0
answers
49
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 ...