Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

Custom strategy for page with i18n

hi, i got a question i am updating my saas and implementing i18n how can i make that my marketing page use the prefix_except_default strategy with ...

Nuxt 4 + tailwindcss + directus gettng error "500 Cannot redefine property: _path"

So I'm trying to do a project in Nuxt 4, and I got a problem when I try to edit any CSS element. It just crashes to 500 Cannot redefine property: _path I tried changing node version because I found one user changed his version from node 20 to 24, and it fixed it, but I tried the same and still nothing error 500: `` Cannot redefine property: _path...

vs-code and auto-imports

Hi, I'm having an issue with my IDE — it doesn't detect the utils function inside my utils folder, even though the code runs fine. Am I missing a VSCode configuration or something
No description

How to add colors from tailwind to nuxt ui ?

Hello ! I want to know how i can add like purple tailwind default colors to nuxt ui badge ?

Avoiding unnecessary divs with NuxtUI and Nuxt/eslint?

I feel like I can't get rid of an unnecessary <div> when adhearing to the eslint rules, which disallow multiple root elements in a <template> tag. Is there any way to do this correctly so to adhear to the nuxt/eslint module rules? App.vue ```...

Install @nuxt/image with nuxt 3.3.3

Hi, I have a question about @nuxt/image compatibility. My environment is: - Nuxt: 3.3.3 - Node.js: 18 I'm looking to add the @nuxt/image module to optimize images, but I want to make sure I choose a version that won't cause any compatibility problems. Does anyone have experience with this specific setup and can suggest a reliable version of @nuxt/image to install?...

Persistent "no such file or directory" error when changing filenames

In Nuxt 3, every time I tried to change the filename of a component, it triggers this error and even after restarting the server, it does not go away. How to fix this? How to clear the cache? How to prevent this from happening?...

Strapi module and Nuxt v4

Hey! I recently got into Nuxt :nuxt:. I saw in Strapi module website that it refers to it as Nuxt 3 Ready. What about Nuxt 4? Is it working or we have to wait for a release? Thanks! 🙏...

Migrating from Shadcn-Nuxt to Nuxt UI v4

Is there a guide for migrating from Shadcn-Nuxt to Nuxt UI v4?

Nuxt module builder is broken with components with defineEmits

Components transformed with nuxt module builder doesn't have any declared slots or events when defineEmits is use in the component. Is there a workaround ?

NuxtImg in Nuxt Content

I use this configuration: ```ts nitro: { preset: 'static', prerender: {...

Two bundles for for guest and logged in users

I have a dashboard, there's an index page and a login page. The information on the index page is highly sensitive. When I look at the js bundle for my nuxt application it leaks information about api routes. These api routes naturally are protected however I'm wondering if there's some way to bundle the js in such a way that it's not delivered to the client until they log in

Update modal does not re-open with latest data

I have this snippet in my update modal ``` const props = defineProps<{...

Best way to append new data to array from useAsyncData

const { data: practiceAreasData } = $api.practiceAreas.listPracticeAreas();
const { data: practiceAreasData } = $api.practiceAreas.listPracticeAreas();
practiceAreasData is an array. i have a form to create a new practice area. how can i append the newly created data without fetching all practice areas...

MySQL connection closes after some time with db0 + mysql2

Hey everyone I’m running a Nuxt 4 app with a connection to a MySQL database using db0 + mysql2. my nuxt config...

ISR with akamai

Hi all, would it be possible to enable ISR without using netlify or vercel, it's not clear in the docs, how can I make sure it works?

DayJs hydration error (setting locale after API call) on SSR

Hi, So we've got a website which is rendered in different languages. Which language it will be it just knows after a first API call. It's about events / conferences which are held in either english or an other language and the whole eventsite is then formatted in that language - so no interactive user switch or url-prefixes. However - I can't get it run on Nuxt3 (we're currently transfering the site from Nuxt 2) ...

Need help loading data

This is my first time using Nuxt (v3). Last time I used Vue on a sizeable project was in 2020, but I've been reading the news so I'm not totally lost. But I need help loading data from a backend server. I have read the Nuxt guide on loading data but I've still not figured out a solid pattern that works for all/most use cases. I'm currently using this pattern: https://medium.com/@luizzappa/nuxt-3-repository-pattern-organising-and-managing-your-calls-to-apis-with-typescript-acd563a4e046...

Can we force Tailwindcss(nuxt ui) scan module for css

I am trying to create a module on top nuxt ui what i need to somehow make tailwindcss compiler to also scan component in module for tailwind css(nuxt ui)

Nuxt Content Preview in development

I'm a bit confused on how to access my Nuxt Content Preview UI during local dev. https://content.nuxt.com/docs/studio/debug#clone-your-repository-on-local I followed all the steps successfully I believe. I can see the generated at my cloudflare tunnel url preview.json, ect. But, do I need to append something to my dev url? After Step 6, what url do I visit to see the Studio UI locally?...
Next