Skip to content

laravel/docs

10.x
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

#9154)

* added npm run build command to bundle the application assets, because npm run dev starts the development server, and when you are using php local development server (php artisan serve) for your local development. and you make any changes like create a object in resources/js/app.js file and import the js file in your views via vite (@Vite([resources/js/app.js])). the object won't be accessible via views js script file. also it will throw an error that the laravel can't find the manifesto.json in public/build dir. so when using php artisan serve command you first have to run npm run build to reflect the js changes and create a build dir in public dir.

* Update broadcasting.md

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
0b4bdd8

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 7, 2023 07:08
September 12, 2023 10:55
wip
September 28, 2023 09:10
September 11, 2023 09:07
wip
November 3, 2023 16:01
wip
November 3, 2023 16:01
October 17, 2023 14:15
January 20, 2023 13:39
June 14, 2022 20:56
October 30, 2023 09:03
September 20, 2023 08:59
August 9, 2023 16:09
wip
November 13, 2023 14:47
February 8, 2023 13:17
wip
February 16, 2023 13:42
August 19, 2023 10:54
July 11, 2023 09:13
February 6, 2023 16:04
February 18, 2023 19:59
wip
August 1, 2023 12:29
October 27, 2023 08:53
February 8, 2023 13:17
wip
July 24, 2023 14:06
September 20, 2023 10:54

Laravel Documentation

You can find the online version of the Laravel documentation at https://laravel.com/docs

Contribution Guidelines

If you are submitting documentation for the current stable release, submit it to the corresponding branch. For example, documentation for Laravel 10 would be submitted to the 10.x branch. Documentation intended for the next release of Laravel should be submitted to the master branch.