Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jovi's avatar
Level 1

Laravel Breeze: package.json gets deleted after php artisan breeze:install api

Has anyone ever installed the breeze API and had package.json erased?

php artisan breeze:install api

#Laravel 10

0 likes
4 replies
Snapey's avatar
Snapey
Best Answer
Level 122

why would you need it when you have said that you have no front-end assets ( by specifying api)

1 like
jovi's avatar
Level 1

Hi @Snapey I just want to understand if this is the correct behavior when installing breeze with api stack. It's my first time to use the api stack.

Thank you.

Cheers!

Ssionn's avatar

@22289d Even though I agree with you and this is super frustrating. This is no way to talk to people. Please be respectful.

agbottan's avatar

I did the same thing now. I just wanted Breeze whitout React, or Vue, or Bootstrap, or Tailwind. I tought that "api" meaning was just the site's backend without views nor css.

Please or to participate in this conversation.