Skip to content

Commit 92f09dc

Browse files
committed
change read me to add composer
1 parent b4a9ab5 commit 92f09dc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ composer create-project justd/laravel your-project-name
99
when you're using npm, you have to include `--legacy-peer-deps` flag.
1010

1111
```bash
12-
npm i --legacy-peer-deps && npm run dev
12+
npm i --legacy-peer-deps
13+
composer run dev
1314
```
1415

1516
## Using Bun
1617

1718
```bash
18-
bun i && bun run dev
19+
bun i && composer run dev
1920
```
2021

2122
You absolutely need to run the `bun run dev`, because the route is generated and watching while it's in dev.

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
6060
"@php artisan migrate --graceful --ansi",
6161
"npm install --legacy-peer-deps",
62-
"npm uninstall husky @release-it/conventional-changelog @release-it/bumper @commitlint/config-conventional @commitlint/cli release-it",
63-
"npm run dev"
62+
"npm uninstall husky @release-it/conventional-changelog @release-it/bumper @commitlint/config-conventional @commitlint/cli release-it"
6463
],
6564
"dev": [
6665
"Composer\\Config::disableProcessTimeout",

0 commit comments

Comments
 (0)