All Questions
276
questions
0
votes
0
answers
14
views
Deploying nuxt/laravel site to forge laravel give me an error 500 concerning nuxt chunks
I have an error when deploying the nuxt part of my nuxt/laravel site to forge laravel. I get the following error Cannot find module '/home/forge/my-site.com/.output/server/chunks/app/_nuxt/index-...
0
votes
1
answer
57
views
Laravel, Nuxt config for headers (cors)
error:
http://localhost:8000/sanctum/csrf-cookie' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
...
0
votes
0
answers
37
views
Trying to understand authentication with laravel-echo #27771
What I want to solve
I want to implement Laravel-Echo to my Nuxt3 Application. As Laravel is my backend, I am using Sanctum as auth provider.
What my attempt looks like
I am using nuxt-auth-sanctum, ...
0
votes
0
answers
55
views
vuejs nuxt js + Laravel with multi tenants
I have a multi-customer online store project
The issue of multiple domains has been solved in Laravel with multi tenant
But in the frontend and vuejs nuxt js project
Do you have solutions to implement ...
0
votes
2
answers
55
views
Laraval Santcum 419 "CSRF token missmatch" error with nuxt
I have an application with a Laravel backend using Sanctum. For the frontend, I use Nuxt3 with nuxt-auth-sanctum.
When I run the frontend and backend on my local machine, everything works fine, and I ...
0
votes
1
answer
47
views
Issues while displaying company logo using multi tenancy with laravel and nuxt js
I have tenancy for laravel installed in my project due to this my images are being uploaded correctly and storing in storage folder in specific tenant folder and then image name !! but how can i ...
0
votes
1
answer
45
views
one specific post request throws CORS error
I have the same articleForm.vue to update and create a new article, depending on if I want to create or update an article I access the vuex store like this.
async function createArticle(article: any) {...
1
vote
0
answers
56
views
Nuxt server-side rendering on api requests behind authentication (Laravel)?
I am new to all this SSR stuff and have most experience with just vue3 as a spa + Laravel as backend. For a new project, I tried starting with a boilerplate : [https://github.com/k2so-dev/laravel-...
0
votes
0
answers
36
views
how to use datatables.net on nuxtjs 2
How to set column width and utilise datatables.net on Nuxtjs 2. With the following, it does not work.
columnDefs: [
{ width: '100px', targets: 0 },
I have attempted PrimeVue and all other options,...
0
votes
0
answers
27
views
NuxtJS SPA + Laravel API CORS Error even though SANCTUM_STATEFUL_DOMAINS etc is set
I've installed laravel + breeze and NuxtJS
The request in my nuxt app is as follows:
await useFetch('http://localhost:8000/sanctum/csrf-cookie', {
credentials: 'include',
});
const token = useCookie('...
0
votes
0
answers
237
views
Laravel 11 Sanctum api/user returns 401 on first log in attempt when switching users on front end nuxt 3 SPA
I am currently developing an application using Laravel 11 and Sanctum as a backend API and Nuxt 3 as a front end SPA.
I've configured Laravel Santum to use SPA authentication (session and not token ...
0
votes
0
answers
24
views
Troubleshooting Nuxt route conflict with Laravel API on Digital Ocean"
I have an application hosted on Digital Ocean, which is composed of a front-end (FE) and a back-end (BE) component. The front-end is a Nuxt application with an HTTP route at "/", while the ...
2
votes
1
answer
459
views
Laravel Reverb (AWS) connect to Nuxt3 (cloudflare)
I’m a little in over my head. Previously I had a Laravel/Vue.js server and pusher.js was working fine.
Then I switched over to Nuxt3 frontend with Laravel 11 / reverb as the backend. Since the two ...
0
votes
0
answers
36
views
How to set up Laravel .env file to work with axios and Laravel Sanctum?
I have a webapp that works with Nuxt as a frontend and Laravel as a backend and Axios as a bridge between the frontend and the backend.
In local it works fine but when I go on production mode it doesn'...
0
votes
1
answer
183
views
How can I setup the Nginx config for a webapp with Nuxt and Laravel on Digital Ocean?
I'm setting up an app on a DigitalOcean droplet using Nuxt 3 for the frontend and Laravel 8 for the backend.
I have installed Nginx for the server virtualization.
My current /etc/nginx/sites-available ...