Skip to main content

All Questions

Tagged with
0 votes
1 answer
8 views

Nuxt 3 HMR Module not reloading changes

I have nuxt 3 project and installed couple of packages . the hmr was working fine .. it just stopped suddenly no clue why . there's no errors in the console . the cmd shows the files are being updated ...
Joe_G's user avatar
  • 1
0 votes
0 answers
27 views

Histoire not working with custom Vue component

I am trying to integrate Histoire in my Vue project (with Vite) and I successfully integrated it by creating a new component. But when I try to integrate it with an existing component of mine that ...
Vectorr's user avatar
  • 19
1 vote
0 answers
20 views

How to enable chunks for development on Nuxt?

When I use dev-mode with HMR and I open any page of my project every file in the project has separated request in Network Inspector - from several hundreds to several thousands files downloaded ...
Denis Bookreev's user avatar
0 votes
0 answers
26 views

How do I load CSS from node_modules dynamically in Nuxt 3?

I am trying it like this: loadFont(font: Font) { if (state.fontsToLoad.includes(font)) return switch (font) { case "poppins": { import("@fontsource/...
oemera's user avatar
  • 3,443
1 vote
2 answers
56 views

Why is Vue's Composable not Isolated?

I'm using Vue 3 with Nuxt 3 and Vite, and I'm encountering a strange bug. It occurs almost everywhere in my app whenever I try to use useFetch within a composable. For example, I have the following ...
Egy Ramschie's user avatar
1 vote
0 answers
29 views

Failed to resolve import "#app/composables/script-stubs (Vitest)

I am receiving the error 'Failed to resolve import "#app/composables/script-stubs"' inside the .nuxt folder in the imports.d.ts file My code is like this and I've tried importing everything.....
Julio S's user avatar
  • 11
0 votes
0 answers
35 views

Set chunk sizes in Nuxt3

How to set chunk sizes in Nuxt3? I have tried to set minSize and maxSize in the 'build' property of the config file but it had no effect at all to the built chunks: build: { publicPath: '/...
PeterS's user avatar
  • 21
0 votes
0 answers
19 views

Nuxt build issue: Lexical.node.mjs not found, only Lexical.prod.mjs present

I'm using Nuxt and Lexical.js and I'm trying to build the project with the nuxt build command. After this, my dependencies are placed in the .output/server/node_modules folder in a compiled form. ...
Andrew's user avatar
  • 1,005
-1 votes
0 answers
21 views

(Vite:css) Lexical Error (unrecognised text) in Tailwind Nuxt/ Vue

I've followed this thread (https://github.com/tailwindlabs/tailwindcss/issues/1603)to fix my issue which seems pretty similar with that thread, but I have no luck. I've defined spacing: { 'number': '...
aulia amirullah's user avatar
1 vote
0 answers
49 views

Nuxt 3 With Vite Production Issue: Works in Development but Not in Production

I'm experiencing an issue with my Nuxt 3.6.5 application. The app runs perfectly with npm run dev, but when I build and start it using npm run build and npm run start, it doesn't work as expected. ...
Viggy's user avatar
  • 11
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
0 answers
79 views

Deploying Nuxt app with Postgres to Cloudflare fails

I have a Nuxt app backed by Supabase deployed on Cloudflare. It works fine. Now I am trying to switch to Kysely for better control over database migrations. The Postgres dialect is backed by a ...
Zanzibar Hero's user avatar
1 vote
1 answer
135 views

Adding '@vite-pwa/nuxt' to nuxt 3 project causes hydration errors

I want to make my nuxt 3 website PWA enabled. I am using '@vite-pwa/nuxt' for this. When adding this package and enabling pwa in nuxt.config.ts it causes 2 issues: Hydration errors start to occur ...
Saaransh Menon's user avatar
1 vote
0 answers
50 views

How to specify multiple entrypoints in Vite with Nuxt.JS

We're in the process of migrating our code over from a pure webpack/typescript/node model to using Nuxt.JS. Originally, for our backend we have 3 processes (4 including main) that were run ...
Khaelem Watt's user avatar
0 votes
0 answers
76 views

Dynamically change the configuration of Tailwind with Nuxt 3

guys! I have a problem that I can't seem to find a solution to. I need to change the tailwind configuration depending on the data I receive from the backend. Why the whole config? It should be ...
raiden's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
8