13,030 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
44
views
Is there a way to embed sanity in a NUXT project? [closed]
I followed this guide to embed Sanity Studio inside a Next.js project:
https://www.sanity.io/docs/studio/embedding-sanity-studio#k5565fbe804d3
Now I’m trying to do the same thing in a Nuxt project, ...
0
votes
1
answer
31
views
Nuxt4 & Cannot find name 'defineEventHandler' at server folder
"nuxt": "^4.2.0",
server/middleware/auth.ts & server/api/auth.ts can not find defineEventHandler
export default defineEventHandler(async (event) => {
});
-1
votes
0
answers
24
views
Cannot find name 'defineEventHandler' at server file
enter image description here
"nuxt": "^4.2.0",
Nuxt will automatic import the functions related to H3.So it should be work at server folder.But i noticed that the tsconfig.json is ...
-1
votes
1
answer
44
views
How to prevent a UButton and its label from printing?
I'm using Nuxt 4.1.3 and "@nuxt/ui": "^4.2.1". I'm using the Nuxt UI button component (code below).
When a user right clicks on my page in a Chrome browser and chooses "Print&...
-1
votes
0
answers
28
views
Nuxt PUT method, how to pass an object?
I'm trying to fix a bug in a Nuxt application. The app has a user profile page with an edit button. When editing the user a PUT request is made to save the new data. How do I make this work?
I'm only ...
0
votes
0
answers
21
views
Nuxt Content remote repo connection
I'm following the instructions given here:
https://content.nuxt.com/docs/collections/sources#authtoken
And implementing the remote repo like so:
export default defineContentConfig({
collections: {
...
0
votes
1
answer
65
views
Errors running Nuxt 4 project after running npx nuxt upgrade
I have a Nuxt Typescript project I created on my Mac a few months ago when Nuxt was at version 4.0.3. I want to update to the latest stable v4 (4.2.1) so I ran npx nuxt upgrade (with or without --...
Best practices
0
votes
3
replies
41
views
Nuxt.js pre-render data in the server for the seo purpose
We have a nuxt.js project which is an ecommerce site. We load the products page with first 100 products as SSR. after that we load other products as we needed from the client side using an API call. ...
Best practices
0
votes
0
replies
24
views
Repository pattern + useAsyncData + Pinia store, hydration + caching problems?
We follow this article to write all our API calls https://medium.com/@luizzappa/nuxt-3-repository-pattern-organising-and-managing-your-calls-to-apis-with-typescript-acd563a4e046 so we can fetch a ...
0
votes
0
answers
110
views
MonacoEditor - Web Worker can't be created
I use https://nuxt.com/modules/nuxt-monaco-editor. I get this error and don't really know what to do against it:
Could not create web worker(s).
Falling back to loading web worker code in main thread,...
0
votes
0
answers
40
views
offline.html not showing correctly in PWA 1.0.7 for nuxt 3.13
I have nuxt 3.13 with PWA module 1.0.7
the service worker is work fine but offline page not working.
I create offline.html in public folder and nuxt.config.js is like below
export default ...
0
votes
0
answers
47
views
Nuxt seo prerendering
I need help with this, I need SEO for 3 pages index, Faq and Blog when I run npx nuxt generate and see the index.html in .output/public I only see this in the viewsource I don't see the html like the ...
1
vote
0
answers
64
views
Vue/Nuxt app loads slowly on client side -- how can I identify and fix performance issues?
I’m working on a Vue/Nuxt project where my client reports that the website is slow — especially when loading a selection window and when fetching JSON data.
However, the slowness is not very ...
4
votes
1
answer
66
views
Is it possible to customize the speed of the Nuxt UI Marquee component?
Given the Nuxt UI marquee component
<UMarquee>
<!-- ... -->
</UMarquee>
is it possible to control its speed? I wasn't able to find a prop for that. Maybe this can be ...
-1
votes
1
answer
77
views
How to safely redirect to /login without crashing on heavy page renders?
I’m running into an issue with Nuxt 4 / Vue 3 where I need to redirect the user to /login immediately after logging them out or when a token expires. The problem is that if I call navigateTo('/login') ...