13,117 questions
0
votes
0
answers
6
views
Nuxt '@' alias can't be resolved
I am trying to use folder /shared to share variables between client and server in Nuxt 3. Like some validators.
I'm on node v18.20.5 and npm 10.8.2. I have tried node 23, 22, 16 but didn't work either....
0
votes
1
answer
13
views
Nuxt i18n: Failed to resolve import “locales/en.json” (Does the file exist?)
Description:
I’m facing an issue while setting up the @nuxtjs/i18n module in my Nuxt 3 project. When I run the application, I get the following error:
Failed to resolve import "../i18n/locales/en....
-4
votes
0
answers
52
views
Best Practices for Frontend User Auth and Data Fetching with Supabase
I'm currently building a web application using Supabase as the backend and Nuxt as frontend and am looking for advice on how to handle user authentication and data retrieval on the frontend securely ...
0
votes
1
answer
35
views
Nuxt Page Stuck in Infinite Loading with Subsequent 404 Errors and sock errors
Environment
OS: macOS 14.4 (Apple M3 Pro)
Node.js: v20.18.1
Package Manager: pnpm 9.15.1
Nuxt Version: 3.16.0
Memory: 18 GB
Devbox Version: 0.13.7
Description
In a monorepo setup using devbox, the ...
0
votes
0
answers
13
views
Nuxt 3 website with MSAL pop-up authentication not working in production but works on localhost
I have a Nuxt 3 website that uses MSAL for authentication. When I'm using localhost I'm able to authenticate and use the website like its supposed to. Once deploying to a production environment, all I ...
0
votes
0
answers
8
views
Problem with index.vue in parent folder with NuxtI18n
I've problem with index.vue file when it is placed in another folder in /pages in my Nuxt 3 app. When I try to go to /wydarzenia I get 404, only /events works. The same is with events/special.vue - ...
0
votes
0
answers
19
views
Issue Deploying Nuxt Frontend with Laravel Vapor
I am deploying my current Laravel project with Laravel Vapor to a staging environment. The frontend is almost entirely using Nuxt. The Nuxt relevant code is contained within a nuxt-ui directory within ...
0
votes
0
answers
17
views
Conflicting peer dependency [email protected] while installing @vercel/analytics to a Nuxt 3 App
The app runs good both locally and in production.
Three months ago I did another project using Nuxt 3 which has @vercel/analytics installed in him. Installing it using npm i @vercel/analytics worked. ...
0
votes
0
answers
30
views
can't use data from ./stores via pinia on nuxt 3 project | Cannot read properties of undefined
When i using my project on local machine via "npm run dev", everything is going well. But as soon as i upload the project to the server, an error appears.
I have a button, which start render ...
0
votes
1
answer
39
views
Nuxt/image in nuxt v2 laravel webp troubleshooting
Thank you very much for support, i am new in nuxt.js v2 and laravel, I am having a problem converting jpg images to webp that are stored in backend laravel address, i am using nuxt.js version 2 with ...
0
votes
1
answer
37
views
CORS Error with Supabase auth.signUp in Local Development
I'm doing my first steps with Supabase in Nuxt, and I'm encountering a CORS error when trying to register a user with auth.signUp. Here's the code I'm using:
async function registerUser() {
const {...
0
votes
1
answer
17
views
NuxtUI custom styling of <URadioGroup> component
I would like to style my Radio component like this -
But Nuxt UI default styling gives me this. Without much ability to customize -
I achieved the first styling in a very hacky way. I saw the DOM of ...
3
votes
0
answers
28
views
Dynamic import Nuxt 3 (Nitro)
How can I use dynamic import in nuxt 3 (nitro)?
src/server/api/urls.ts:
This method works
export default defineEventHandler(async event => {
const module = await import('../../../utils/...
0
votes
0
answers
24
views
How to make Nuxt open the component instead of .d.ts file when I CTRL + CLICK the html tag in VsCode?
Something annoying about Nuxt is that it's opening the TypeScript declaration file instead of the file itself when I CTRL/ALT + CLICK it, different from using Vue alone, Nuxt go to the declaration ...
0
votes
0
answers
12
views
Problems with nuxt and adminlte
I am using admin lte and nuxt for a project I am doing, but I am having the following problem:
To generate a list with dropdown options use:
<nav class="mt-2">
<ul class="...