Questions tagged [laravel-9]

Introducing Laravel 9, the reliable and robust version of the beloved open-source PHP web framework developed by Taylor Otwell. This groundbreaking release became available on February 8th, 2022. For any inquiries or discussions related to Laravel, make sure to utilize the [laravel] tag.

Brand new Laravel 9 setup featuring a vue 3 scaffold, but encountering issues with vite not displaying components

After setting up a fresh Laravel 9.19 installation with Vue scaffolding and vite.js, everything seemed to be working well, except for one issue - the Vue example component that comes with the default Laravel install wasn't rendering in the browser. My env ...

Inertiajs - Seamlessly transition to a different page within the same environment

Is there a way to navigate between pages on the client side in Laravel and InertiaJS without using inertia.visit()? I am curious about how to switch pages solely within the client, without having to communicate with the server. Can props be specified fro ...

Troubleshooting Problem with Laravel Inertia and Ziggy Link Routing

I’m currently experiencing an issue with my routing. The problem arises in the following scenario: When there is no id query, Inertia functions as expected. https://i.stack.imgur.com/r14bt.png However, after navigating to edit mode and attempting to c ...

What is the method for incorporating PHP code into a Blade template in Laravel, while ensuring it stands out against the background?

I need to include PHP code as text in a Laravel Blade file, similar to adding code on Stack Overflow. In my Blade file, I have the following: {!! nl2br($article->body_ru) !!} In $article->body_ru, I've added: huijlhgfyuhukik rfthkgjb ftygyjh < ...

Having trouble getting a JS file to work with the Laravel Inertia.js and Vue.js3 template

Just getting started with inertia.js and facing an issue. My CSS styles are being applied, but my JavaScript file isn't functioning as expected. I'm working on an admin dashboard using Laravel 9 and vue.js-3 with a custom HTML template. Interes ...

Guide to sending both JSON data and form data in a single request using Laravel 9

I am working on a form where I need to input multiple images that will be converted into JSON format. The HTML for my form: create.blade.php <form method="post" action="{{ route('m_announcement.store') }}" enctype="multipart/fo ...