All Questions
69
questions
1
vote
0
answers
58
views
Nuxt 3 API proxy issue on vercel with api having large payload data. Limit query not working
I'm encountering an issue with deploying my project on Vercel with a proxy API, specifically related to handling large data payloads from an API.
The proxy API functions properly in my local setup. ...
1
vote
0
answers
205
views
Nuxt 3: Nested dynamic routes not prerendering as expected
I'm working on a Nuxt 3 project with the goal of having every page prerendered at build time, except for specific dynamic routes like my shop and products pages, which should always be dynamic. I'm ...
1
vote
0
answers
74
views
I got Nuxt Internal Server Error when I added dynamic meta tags from server in nuxt 2 vue js and laravel as backend
I got
Nuxt Internal Server Error
when I reload or directly go to specific route just in production
in local everything is ok
I just added to asyncData to get dynamically meta tags
I have changed ...
1
vote
0
answers
178
views
How to read files on an API route correctly with Vercel deployment
I have an API route where I need to read all files from a directory and also do some computation with it.
The files should not be public and are currently located inside the project root under /...
0
votes
0
answers
86
views
Why haven't tracking tools like Hotjar and others worked on Vercel function + Nuxt 3?
I am a newbie and I am trying to add various trackers like Google Analytics, Hotjar, Matomo, and others to my Nuxt 3 project. However, they are not working. I deploy it to the Vercel serverless.
I ...
0
votes
1
answer
141
views
date-fns not working on serverless edge function?
In my Nuxt 3 project when I use date-fns it works fine (deployed on Vercel):
server/api/datefns.ts
import { subDays } from "date-fns"
export default defineEventHandler((event) => ...
1
vote
1
answer
483
views
Slow initial page load on vercel with nuxt3
I have a question about slow initial loads on vercel for my nuxt landing pages. It seems that once in a while
I have a really long load time on the home page of my website. Almost all the load time ...
1
vote
0
answers
128
views
CORS Challenges: Fetch POST API with vercel, working fine on old laptop despite same vercel configuration
I'm currently working on a Nuxt 3 project where I've implemented Fetch APIs to retrieve and send data to my local Vercel project. I recently upgraded to a new HP Victus laptop from my old HP Pavilion. ...
0
votes
0
answers
127
views
Nuxt 3 build on Vercel, fails when using route middleware
I am raising this question just to bring awareness to this problem.
I created two middlewares for one of my projects and when deploying on Vercel, the build would fail. It worked perfectly fine on ...
0
votes
0
answers
219
views
Issue Deploying Nuxt.js Project on Vercel - Missing "dist" Directory
I'm encountering an issue while trying to deploy my Nuxt.js project on Vercel. The deployment process fails, and I'm getting the error message "No Output Directory named 'dist' found after the ...
0
votes
0
answers
74
views
How to debug a nuxt app running in vercel
I have this website that is designed to calculate people's typing speed. It's being built in Nuxt. There's a button that I use to generate a new text. When I generate a new text, I basically take that ...
0
votes
1
answer
1k
views
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT when trying to use the NuxtJS api
I am using NuxtJS 2, I deployed my app on Vercel and everything has been working fine. The things changed when I decided to add serverMiddleware, I created a api folder, I added the following to the ...
5
votes
0
answers
3k
views
Page prevented back/forward cache restoration in lighthouse
I'm developing a site with nuxt and hosting it on vercel.
Doing performance tests with lighthouse, locally (always on the builds), I have no particular problems, while on the real site, there is ...
4
votes
0
answers
363
views
Nuxt server route works locally, but not on remote Vercel Edge server: 404 Status Code -- why?
I have a Nuxt3 app using server routes. The app works fine locally. However, after deployment to Vercel using vercel-edge preset, one of the routes for some reason is a 404.
When accessing this URL: ...
1
vote
0
answers
310
views
How can I rewrite URLs on my Vercel-hosted app to hide query parameters and display a cleaner URL?
How can I rewrite the URL of my query page from "/query?data=query_data" to "/query/query_data" on my Vercel-hosted app without displaying "?data=" on the URL using ...