13,123
questions
0
votes
0
answers
12
views
How to set roles and permissions of the user via API, in Nuxt?
I am using Nuxt (Vue 3 + TS) for a project and am trying to set the user's roles and permissions via API. The original roles and permissions are on my backend Yii2 (PHP), and I am fetching them via ...
0
votes
0
answers
15
views
Nuxt 3 / Vue 3: Reactive Value Initialization Delay Causing Zero Value
Problem Description
I'm working with a reactive data flow where a calculated value (final percentage) is not immediately populating with the correct value due to data loading delays.
Specific Scenario
...
1
vote
1
answer
27
views
Fabric.js Textbox Resizing and Editing Works Locally but Not When Canvas is Stored in Pinia
I'm working on a Nuxt3 project with Fabric.js and Pinia. I want to manage the Fabric.js canvas instance globally using a Pinia store. The goal is to add text to the canvas using actions from the store....
0
votes
0
answers
20
views
Hi, please i have a error server on nuxt 3 ssr test e2e
I am working on a project in nuxt 3 ssr, it is absolutely not necessary for js to be executed on the client side, so I work a lot with the server, in the code below I call my store which itself calls ...
0
votes
0
answers
42
views
Why TypeScript can't find name this? [closed]
So when I run yarn dev or build in nuxt 2.15, node 18.20.5 I have this error in most of .vue file
TS2304: Cannot find name 'this'.
369 | }
370 |
>371 | handleKeyDownEnter(refsItem: ...
0
votes
1
answer
62
views
Bearer token not included in request header
I tried using token based auth using Laravel Sanctum, using Nuxt JS on Front End
Laravel Framework 11.29.0 (http://192.168.10.11:8000)
Nuxt 3.13.2 running in (http://192.168.10.11:3000)
And ...
0
votes
0
answers
35
views
Nuxt: [worker reload] [worker init] Cannot find package '~' imported from
I am having weird javascript errors in a row.
import View from "~/server/models/ViewModel.js";
this command failing in nuxt startup,
It started erroring fully random, the '@' alias also not ...
0
votes
1
answer
27
views
How can I get useFetch to trigger when NuxtLink is clicked?
The issue is that my view is not re-rendering nor is useFetch re-running when a pagination link is clicked. I suspect this is something to do with data reactivity in Nuxt - which is new to me.
I have ...
0
votes
1
answer
56
views
Issue with gallery image loading randomly
I have a problem loading a fetched gallery: when I load the gallery page, images load as expected, but when I go to a different page, for example home page followed by coming back to gallery page, the ...
0
votes
0
answers
36
views
Some CSP Problems with nuxt-security
there are 2 problems with my code below. No matter what I did, I couldn't solve the problem.
Problem 1 -) When the user refreshes the page, it always redirects to the home page.
Problem 2 -) The css ...
-3
votes
0
answers
39
views
How to make an HTTP request from my frontend to an internal private backend
I have a frontend server configured with nuxt (vue), and a backend configured with fastapi.
The frontend is exposed to the outside world on ports 80 and 443,
The backend is not exposed.
When a user ...
1
vote
0
answers
29
views
Can 2 firebase-hosted Vue SPAs be connected client-side whereas the main app lives at example.com and the other at sub.example.com?
We have a Vue2 SPA hosted via firebase.
Now we split a part of that app to become a new app under a subdomain. This new app works with Nuxt (using SSR) and Vue3.*
For this we created a second server ...
1
vote
0
answers
35
views
Nuxt: How to auto-redirect non-existing routes to different domain
We have a Vue2 SPA with base url https://example.com and migrated a part of this app to using Nuxt (with SSR) and Vue3, hosted on https://sub.example.com
After having replaced RouterLink with NuxtLink ...
0
votes
0
answers
19
views
Nuxt 3 ssr custom error page (404) not showing in production mode
I have a code below
error.vue
<template>
<NuxtLayout>
<div class="prose">
<template v-if="error.statusCode === 404">
<h1>404!&...
0
votes
0
answers
29
views
Discriminate between browser load and browser navigation
Is it possible to check if the browser is loading a page through a page refresh or URL access, or if it is navigating through the browser history (back/forward)?
I'm building an app with Nuxt where I ...