Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

Is there a way to create a dynamic payload for static site?

I am creating a blog page and i need to fetch the content dynamically. Is there a way to do it with nuxt generate because my hosting provider doesn't support server. It's using cpanel and I cant make it work dynamically.

nuxtui tailwind plugin

How can we add tailwind plugins when nuxt/ui is installed on my project

Histoire

Our team uses Histoire which has a pretty nice DX, but seems to be now generally undeveloped / supported, with bugs left to fester, no compatibility updates, etc. We've taken a look at Storybook but the DX is not at all Vue idiomatic, so we're hanging on for now. Do the Vue / Nuxt / ecosystems teams have any thoughts on making sure Histoire doesn't wither and die on the vine?...

"Failed to parse static properties from plugin xxx" after installing @prisma/nuxt

Hello there. Im not entirely sure if i should complain to Prismas authors or here, but as pretty much everything breaks related to Nuxt, ill do it here. Ever since i installed the @prisma/nuxt module using nuxi, everything likes to break at random. Right after i installed it i had to reinstall all my deps because of the errors in the attached image, but npm run dev worked fine after that. When trying to build using npm run build, it also broke and as a result i got these errors. It seems like every module that ive installed is breaking - Pinia, Nuxt Icon, i18n, everything. Tried clearing the cache using npx nuxi cleanup and that didnt help a single bit. Anyone have a clue ?...
No description

Support for Custom Delimiter in CSV Import

Hello everyone! 😊 I’m facing an issue where I urgently need your help. Currently, there doesn’t seem to be an option to set a custom delimiter (e.g., 😉 for importing .csv files. The Problem:...

Exclude pages from nested routes

Hi guys, Is there a way to isolate pages in nested layouts? Example:...

UInput

Is there a way to override the text value inside of a <UInput> with generated elements?

TS false property not exists message (TS not detecting type in template)

Hey folks ts says the category_name attr does not exist...in fact in the template the inferrence is not working. Has anyone come across a similar issue and a fix? Saw some discussion on ts issues but no fix I could come across yet....
No description

SSR false not working.

Im trying to create a preview site for my production site, I have ssr:false in my nuxt.config.ts and I've created the "~/app/spa-loading-template.html" file. When i run "npm run generate" i get this output, it looks right: (img 1) ...
No description

How to access the request event from within @sidebase/nuxt-auth NuxtAuthHandler?

I'd like to access the request event from within NuxtAuthHandler callbacks. I need this in order to set additional cookies / or access objects on event.context. This was one of the attempts I tried: ```typescript...

Custom Module composable state not reset after hot reload

I wanted to learn how to do nuxt modules so I made this: https://github.com/Waradu/keyboard the problem is in src/runtime/keyboard.ts > handlers. If the application hot reloades the "new" event get added but the old one are still in the list. Example testapp: ```html <template>TEST</template>...

barcode in nuxt 3

Does anyone know how to create a barcode in nuxt 3

Radix direct auto-import breaking

Anyone has experience trouble using radix vue? So I installed the module on my nuxt application and tried to use the library. No matter what i do and how many times i reinstall the library the app breakes with the next error: ``javascript [plugin:vite:import-analysis] Importing directly from module entry-points is not allowed. [importing radix-vue from components/app/metadata/squareOptions/meta/DialogOptions.vue`] /Users/Documents/GitHub/myprojectlol/app/components/app/metadata/squareOptions/meta/DialogOptions.vue:126:133...

Disable global middleware for one page

I have a global middleware because every route uses it except for one. How to stop this?

Nuxt UI v3

how can i delete a class from a components theme. for example removing the ring from the card component.

layers a comprehensive guide

The docs for nuxt3 sucks. The subject is complex, the guides too short or non existent, ton of caveats trying to deploy them. The alternative, i believe, is understand what layers are built on. What features of vue are nuxt layers built on?...

Cannot find module './lib/source-map-generator'

Hi, I have recently done some migrations to our codebase, and after that, the dev server stopped working (building and previewing works). The error I get is: ``` [nuxt] [request error] [unhandled] [500] Cannot find module './lib/source-map-generator'...

Nuxt UI v3.0.0-alpha.10

onSelect: () => navigateTo('/login') not working for dropdown

Schema hasn't been registered for model...

Hello, I have been trying to add new schemes to my models folder for my MongoDB database and for some reason the newly added models arent being registered by Nuxt. I have tried using the Schemes in API (creating documents and querying the collection) and it works all fine. But until I try populating other models referring to the new ones, it show that the scheme hasnt been registered. Interesting is that it most of the time doesnt, but sometimes it does and I got no idea what the problem could be. ...
No description

reactive css variables

hi, I'm trying to load css variables using a reactive url in useHead() styles but, how can I make this client-only?