Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

Nuxt i18n pages:extend

Is there a way to avoid automatic localization of routes that are pushed within the pages:extend hook ? While using those settings: ```...

Difference between <v-no-ssr> and <ClientOnly>

I was noticing that with v-no-ssr in the app.vue file of a project, Vuetify is not loading correctly, while with ClientOnly from Nuxt, it does. Does anyone have an idea why?

Files not served from public directory

I have a couple of images in the public folder but they are not served in the production build

defineNuxtRouteMiddleware not working

File is in middleware/nuxtRouteMiddleware.ts as docs imply. ``` export default defineNuxtRouteMiddleware(async (to) => { console.log("Middleware running"); // Nothing is logged...

Nuxt auth utils reactive update

Hey guys, how can i update a session value? there are some values only updating when i am refreshing the page like player coins and stuff, but i want to update the session values from the database directly, is there an integrated feature?

Content Management for App local

Hey there! I'm in the middle of a project where we use Prismic to handle most of our website content. However, we also have text content in the UI of the webapp that needs to be edited. With the project evolving quickly, we often need to update various text elements like button text, headers, subheaders, and descriptions, as well as translate them. I'm wondering if you have any ready-made solutions that you're using for this kind of scenario. At first, I thought about using Prismic to manage the app content too, but I'm looking for other options that might work better/faster...

<no response> fetch failed error on sending request to strapi via $fetch

Hello, i'm trying to implement a simple cms for my nuxt project. But the problem is when i use $fetch to send request to my strapi endpoint $fetch throws this error:
"http://localhost:1337/api/blog-posts": <no response> fetch failed
"http://localhost:1337/api/blog-posts": <no response> fetch failed
...

Is onScopeDispose clientside only?

I cannot for the life of me get it to trigger during SSR. If so, how are you expected to dispose of the active scope in SSR?

Nuxt3 proxy in server/api/[...].ts

use $fetch to backend api but response is not json...

useFetch()

Hello friends, I'm curious about how to use status.value correctly with useFetch().
No description

Detecting locale using env variables not working

I am trying to get my multi domain locale detection working but it isn't. I don't want to use a prefix, it is different domains and I want to try out the translation in dev. I have: ```...

Nuxt 3 Layout

In Nuxt 3, I have the following structure in my app.vue: ```html <template> <nuxt-route-announcer />...

Nitro Durable Object

please tell me how to export durable object classes

Saving an `ArrayBuffer` with `defineCachedEventHandler` & NuxtHub cache

I'm trying to return an ArrayBuffer (with an image) from my cached event handler. This is working correctly with a regular handler, but with caching it returns {}, presumably because useStorage.set is used in cached functions instead of experimental setItemRaw. Is there any way around this?...

servermiddleware routes are not recognized in production

My application communicates with several miscroservices, and I need to "hide" the API routes from the client, I'm trying the servermiddleware approach, on site it works, but when I go up to production it recognizes the route as being from the front and returns an html. * code snippet: server-middleware/proxy.js * ```js const express = require("express");...

Nuxt Content: How do I get the page to render via the slug set as a frontmatter property?

In my blog/index.vue, I have the following: ``` <script setup> const contentQuery = await queryContent('blog')...

dynamic route getRouterParams not updated

Hey all! I have a server setup like so in the attached screenshot. When I call getRouterParam and use the string slug, the value comes back as undefined but when I use the string id it works. I had previously had the file called id but realized that wasn't accurate so I updated it. Has anyone hit this before? Is it that the file name won't update the Nuxt API? It's working so not a big issue, but I'd like to make sure my code is readable. this is how I'm using it now: ```const slug = g...
No description