• Reading time ~ 1 min
  • 23.03.2023

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

This week we shipped TypeScript support for our Inertia powered React and Vue stacks on Laravel Breeze.

It’s the fastest way to pair a modern TypeScript frontend with the most productive full-stack framework on the planet. ❤️ https://t.co/H3PDXlQV1v

— Taylor Otwell 🪐 (@taylorotwell) March 22, 2023

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

Opt-in TypeScript support with the Breeze interactive installer

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.

Comments

No comments yet
Yurij Finiv

Yurij Finiv

Full stack

ABOUT

Professional Fullstack Developer with extensive experience in website and desktop application development. Proficient in a wide range of tools and technologies, including Bootstrap, Tailwind, HTML5, CSS3, PUG, JavaScript, Alpine.js, jQuery, PHP, MODX, and Node.js. Skilled in website development using Symfony, MODX, and Laravel. Experience: Contributed to the development and translation of MODX3 i...

About author CrazyBoy49z
WORK EXPERIENCE
Contact
Ukraine, Lutsk
+380979856297