News

TypeScript Support Added to Laravel Breeze

Published
TypeScript Support Added to Laravel Breeze image

The Laravel team added opt-in TypeScript support to the Laravel Breeze starter kit.

You can configure typescript through the interactive prompts when running breeze:install using the latest version of Breeze:

You can also use the --typescript flag if you want to skip the prompts like the following:

php artisan breeze:install vue --typescript
 
# Other options like SSR
php artisan breeze:install vue \
--typescript \
--ssr \
--pest \
--dark

If you prefer a video introduction to this feature, Laravel team member Nuno Maduro demonstrates TypeScript in Breeze in Laravel Weekly Update #2:

Also, thanks to Jess Archer, who added opt-in TypeScript support to the Breeze package.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Laravel Rulebook: Business Rules That Change by Date image

Laravel Rulebook: Business Rules That Change by Date

Read article
Taylor disabled GitHub Issues on most Laravel open-source packages. image

Taylor disabled GitHub Issues on most Laravel open-source packages.

Read article
Exclude Vendor and Default Commands in `php artisan dev` image

Exclude Vendor and Default Commands in `php artisan dev`

Read article
The Laracon Archive image

The Laracon Archive

Read article
Group Adjacent Collection Items in Laravel with chunkBy() image

Group Adjacent Collection Items in Laravel with chunkBy()

Read article
Laravel queue:work Now Prints Why the Worker Stopped image

Laravel queue:work Now Prints Why the Worker Stopped

Read article