Nuxt

N

Nuxt

Nuxt Community Chat Server

Join

chunks are larger than 500 kB after minification

Hello, I have a Nuxt application and everything works perfectly, but I’ve been focusing on optimizations lately. I was checking the build, and it gives that warning: “Some chunks are larger than 500 kB after minification.” Is there any article, best practices, or place where I can study this type of optimization?...

Access nitro/nuxt hooks from nuxt module

I cannot use await (because it means breaking changes). ```ts function getHooks(): Hookable<GlobalFetchHooks & ClientFetchHooks> | null { try {...

TypeError: Cannot read properties of undefined (reading 'base error after upgrading 3.13.x to 3.17.x

After upgrading to 3.17 even if there is no prerendering in place. Problem exists on production build. virtual:nuxt:/Users/buny/workspaces/yxxxx/xxx/.nuxt/paths.mjs:4 Uncaught TypeError: Cannot read properties of undefined (reading 'baseURL') at CC (virtual:nuxt:/Users/buny/workspaces/yxxxx/xxxx/.nuxt/paths.mjs:4:30)...

Is Nuxt Studio broken?

Is Nuxt Studio broken ? Everytime I try to change my app colors, Nuxt Studio sets the wrong values. Here's my nuxt.schema.ts:...

Nuxt 4 + @Nuxtjs/i18n issue

I have issue trying to use defineI18nConfig. I believe in Nuxt 3 I can import with '#import' but not in Nuxt 4.

Docus Content Layout/Structure customisation (navbar and sidebar particularly)

Hello! Total noob here. I'm trying to setup Docus as a documentation platform, but I want to have multiple different pages or tabs, each tab is like a category, but it has it's own sidebar, rather than sharing a global sidebar. Tabs would be accessible from a 'header'. I'm not quite sure how to achieve this, or where I might be able to configure this. All I can really see on the docus docs is that the file structure and navigation is just handled automatically, but I don't want a global sidebar....

NuxtUI icons forced to width and height 1em!

NuxtUI icons forced to width and height 1em! by head style! thats prevent size prob of any icon buton to get correct size!
No description

Nuxt v4 upgrade and dependancy conflicts

I have a couple modules that I'm trying to figure out how to use with v4 specifically. @sentry/nuxt @vueuse/nuxt @nuxt/scripts ...

Nuxt script error in devtools

Hello, I have an error internal server in devtools for nuxt/scripts -> can't convert undefined to object How could I find the issue of that?...

nuxt.config and layers

Looking structuring out project and it feels like Layers will be useful to keep the different functionality of the project organised. I am however struggling with what I need to be putting in the different nuxt.config filesm and whether I even need to have multiple config files. For example this is a hypothetical tree:...

Nuxt content / i18n / useAsyncData

Hello, upgraded from nuxt3 to nuxt4 and everything works really fine except for something regarding content/i18n My website is in EN and FR and also all the content pages:...

Breadcrumbs with async data (SSR)

Hi all, I'm currently facing a pretty straight forward problem, that I'm trying to solve for 2 days now. I have a PageHeader component that displays a breadcrumb. The PageHeader is using a pinia store to fetch the breadcrumb config and render it. In every page I populate the breadrcrumb store with the data that should be displayed (I'm fetching async data with pinia colada): pages/companies/[id].vue...

set request headers for nuxt public assets .output/public

Hello I'm trying to set request header for script files under _nuxt I tried setting routeRules according to this issue https://github.com/nuxt/nuxt/issues/22141 ```ts routeRules: { "/_nuxt/*": {...
No description

Cannot start nuxt: crypto.hash is not a function

Hey all, I'm trying to create a new Nuxt 4 project. However, no matter what I do - I get the following error: ``` ERROR Cannot start nuxt: crypto.hash is not a function 9:27:41 PM...

Access app.config.ts in nuxt module

How to use app.config.ts in my nuxt module: - how to declare types - how to access it in module defined config...

Error: Command "pnpm install" exited with 1

[00:29:13.117] Running build in Washington, D.C., USA (East) – iad1 [00:29:13.117] Build machine configuration: 2 cores, 8 GB [00:29:13.132] Cloning github.com/zhaolinlau/UMPSA-Hackathon (Branch: dev, Commit: 8f897e3) [00:29:13.139] Skipping build cache, deployment was triggered without cache. [00:29:24.914] Cloning completed: 11.782s...

useColorMode transition not working?

I'm using nuxt4 & nuxt ui 3, I'm looking to have my color mode transition, but I can't seem to figure it out, I saw that there was a bug in nuxt ui 2 - https://github.com/nuxt/ui/issues/3645 I assumed that that doesn't apply to v3, is that the case?

MDC component prop binding not working in v3 - arrays/objects from frontmatter not passed correctly

In Nuxt Content v2 I was able to use MDC component prop binding from the frontmatter of a markdown file to pass objects and arrays. However, with v3 that doesn't seem to work. content/markdown.md ```markdown ---...

Nuxt 4 + Nuxt UI Pro 3?

Hi all! Anybody else experiencing Nuxt 4 not wanting to start because it has issues with Nuxt-UI ? ```
dev nuxt dev
...