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

All Questions

0 votes
1 answer
93 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
0 votes
0 answers
34 views

Nuxt3 program SSR fails after deployment to server

This my config.js export default defineNuxtConfig({ devtools: { enabled: true }, debug: true, server: { host: '0.0.0.0', port: 3000 }, ssr: true, target: 'server', ...
seeeeal's user avatar
0 votes
0 answers
55 views

Nuxt 3 SSR Fails to Send Cookies During Page Reload on Protected Routes

Hello StackOverflow Community, I am working on my first full-stack project using Nuxt 3 for the front end and Node.js (Express), and Sequelize for the back end. I am encountering an issue when ...
grassa's user avatar
  • 11
0 votes
0 answers
33 views

Nuxt 3 Generating meta redirect tag for specific Route

when I run the np run generate command it generate the payload and html for each route which is working fine. but for the blog page It only generate the following html <!DOCTYPE html><html>...
Raza Haider's user avatar
0 votes
0 answers
26 views

Why vite is sending duplicate javascript files to client?

In the nuxt-bridge project, i have just installed and enabled vite. After i run build command, and run the server, i see duplicate javascript files on browser network tab. One is added with link tag ...
Ersah's user avatar
  • 13
0 votes
1 answer
86 views

nuxt components rendering twice only in production

I'm on Nuxt 3, and it seems like my webpage renders some of the components twice, in both SSR (npm run build) and when I use nuxi generate. I am using an App.vue and Nuxt pages. What's odd is that ...
David 天宇 Wong's user avatar
0 votes
3 answers
99 views

Why am I seeing my requests in network tab of devtools when I'm using Nuxtjs (SSR)

I am using nuxt 3.11.1 and when I am trying to send my requests from the server side I'm yet seeing the requests in network tab which made me doubt if I am sending them correctly or not. I have ...
NyF__'s user avatar
  • 33
0 votes
1 answer
58 views

useServerSeoMeta not setting head-tags on server

Using Nuxt3 and useServerSeoMeta and/or useSeoMeta, I would assume this would generate correct HTML on server side but it does not. I just took the example straight from Nuxt documentation, and on ...
Pochen's user avatar
  • 2,919
2 votes
0 answers
136 views

How to implement multiple themes/designs in a nuxt3 project?

I'm trying to develop a website on nuxt 3 and there is one feature I want to implement, but I have no idea how best to do it. My goal is to implement multiple designs with the ability to switch ...
john_psina's user avatar
1 vote
0 answers
56 views

Nuxt server-side rendering on api requests behind authentication (Laravel)?

I am new to all this SSR stuff and have most experience with just vue3 as a spa + Laravel as backend. For a new project, I tried starting with a boilerplate : [https://github.com/k2so-dev/laravel-...
phpNoobish's user avatar
1 vote
1 answer
272 views

How to set up authentication to Directus in a ssr nuxt app

I'm trying to authenticate to Directus in my nuxt app with the directus sdk. I cant get the cookies to be set properly. nuxt app: app.netlify.app (also localhost for developement) directus: admin....
Posoroko's user avatar
  • 261
0 votes
0 answers
31 views

Calling an API on my local machine from within a container only works at first load

I'm running a Nuxt app inside a Docker container that talks to my local machine Laravel API on localhost:8000. I've followed this answer to make the container see my localhost. docker-compose ...
Muhammad Mahmoud's user avatar
1 vote
0 answers
202 views

Server Side Rendering of Dynamic URL using NUXT 3

I am using NUXT3 for one of my project. I am able to nuxt generate the dist folder for SSG. Now I am having dynamic url for my project. That is /page/resources/[post].vue , Based on the passed route ...
Shriram Naik's user avatar
0 votes
0 answers
61 views

Nuxt/Sanity/Netlify SSR not showing up to date data

I’m using Nuxt 3 with Sanity and hosted on Netlify and have always ran npm run generate to serve SSG which requires a redeploy after content/data changes. This has always generally worked fine. ...
John the Painter's user avatar
0 votes
1 answer
60 views

All-in-one downloadable HTML file including chart.js from nuxt app

My requirement is to provide a small Nuxt app that generate a simple HTML file including some overview sections for services provided to customers of the company I work for. The specific use case here ...
fesieg's user avatar
  • 479

15 30 50 per page
1
2 3 4 5
30