Alpine.jsSolved

How to update the "date property" inside an alpine carousel?

Hi! I am building an announcement carousel with alpine. How to dynamically update the "date property" inside the carousel with each slide. ``` <div x-data="{ currentIndex: 0, announcements: @js($announcements->map(fn($a) => [ 'id' => $a->id, 'title' => $a->ti...
Prawin
Posted by Prawin
2 months ago. Last reply 1 month ago.
10
291
JavaScript

Error displaying "Hello, world" three times on the Console screen

I would like to know, please, why, when trying to display the message "Hello, world" three times on the "Console" screen, the following error message appears. 676718f2f590508f5fe195f8:92 Refused to execute inline script because it violates the following Content Security Policy directive: "script-sr...
leonardo335
Posted by leonardo335
3 months ago. Last reply 2 months ago.
1
169
Laravel

Broadcsting an event breaks redirect / response

Hello, I'm running into a strange issue with Reverb, and I'm hitting walls trying to figure it out. I have a modal. In this modal, you fill in some fields to create a task. On successful form submission, the modal should close, but when using Reverb, it doesn't. It doesn't matter which channel t...
Haz
Posted by Haz
2 months ago.
0
75
LivewireSolved

Livewire/Alpine and TipTap editor

Hi, I am struggling with the implementation of data binding using Livewire 3 with Alpine and the TipTap Editor. Tried to implement something similar to this Livewire 2 solution: https://github.com/mattlake/tiptap-livewire-demo - Editor is initialized / shown - My initial content is in the editor -...
philipp71206
Posted by philipp71206
7 months ago. Last reply 2 months ago.
6
772
General discussion

Production Question

Hi All, When you deploy a Laravel project for production what are your usual artisan commands for optimization? If you have an article that you can share please comment it down. Also, what are your configuration for the LOG_* in the env do you just leave the defaults? ``` LOG_CHANNEL=stack LOG_ST...
carlopaa
Posted by carlopaa
3 months ago. Last reply 2 months ago.
2
200
Laravel

Laravel Database: Query Builder Course Need

Laravel Database: Query Builder Every Relationship With Example Course need like Eloquent ORM or Make Course Query Builder vs Eloquent ORM Compare Two Type https://laravel.com/docs/11.x/queries https://laravel.com/docs/11.x/eloquent
abaydullah
Posted by abaydullah
4 months ago. Last reply 3 months ago.
2
214
Laravel

Notification broadcasting not working

When i am broadcasting a TestEvent - i am getting the response on console - But when i am broadcasting notification - i am not getting it. This is where i am broadcasting the notification ``` <?php namespace App\Http\Controllers; use App\Models\Like; use App\Models\Post; use App\Models\User; u...
talhatonmoy
Posted by talhatonmoy
5 months ago. Last reply 3 months ago.
7
324
Laravel

Need Course With Mongodb

https://laravel.com/docs/11.x/mongodb
abaydullah
Posted by abaydullah
4 months ago. Last reply 4 months ago.
3
215
LivewireSolved

counting <li> tags in livewire

Two weeks ive been trying to solve this one simple problem. I have simple page that shows list of users. there is also a basic search functionality. All i want to do is console log number of <li> tags after search is performed. The problem is that console is always one step behind and shows the n...
rafal428
Posted by rafal428
4 months ago. Last reply 4 months ago.
5
342
Laravel

new course idea

Hi Alex hope you are well, Could you please consider to idea to create a course for laravel with intertia for recurrent calendar events with also email notifications? Would like to take a chance to say happy christmas as well Thanks Vincenzo
vincenzo
Posted by vincenzo
4 months ago. Last reply 4 months ago.
4
263