Update laravel.md

Hi,
There were a few issues with using the current installation command:

The --typescript option is not supported.
When the --no-interaction flag is included, it cannot choose the default testing framework, which results in an error.
This PR will remove the two options, --typescript and --no-interaction.

Screenshots of the errors are listed below:
Thank you :)
This commit is contained in:
Krishna Bhandari 2024-09-08 17:00:00 +05:45 committed by GitHub
parent 573443f352
commit 2e950f6335
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ description: Install and configure Laravel with Inertia
Start by creating a new Laravel project with Inertia and Vue using the Laravel installer `laravel new my-app`: Start by creating a new Laravel project with Inertia and Vue using the Laravel installer `laravel new my-app`:
```bash ```bash
laravel new my-app --typescript --breeze --stack=vue --git --no-interaction laravel new my-app --breeze --stack=vue --git
``` ```
### Run the CLI ### Run the CLI
@ -18,6 +18,7 @@ laravel new my-app --typescript --breeze --stack=vue --git --no-interaction
Run the `shadcn-vue` init command to setup your project: Run the `shadcn-vue` init command to setup your project:
```bash ```bash
cd my-app
npx shadcn-vue@latest init npx shadcn-vue@latest init
``` ```