Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breeze "API" / SPA Stack #109

Merged
merged 24 commits into from
Dec 2, 2021
Merged

Breeze "API" / SPA Stack #109

merged 24 commits into from
Dec 2, 2021

Conversation

taylorotwell
Copy link
Member

@taylorotwell taylorotwell commented Dec 1, 2021

This adds a new api "stack" to Breeze. This stack removes all JS and CSS related scaffolding and installs controllers that properly handle the API authentication (powered by Sanctum) that would typically be required when authenticating a JavaScript SPA such as applications powered by Next.js / Nuxt.js, etc.

This stack can be paired with an SPA of your choosing or with an upcoming Laravel Breeze implementation in Next.js 12 which will be open sourced at https://github.com/laravel/breeze-next within the coming days.

composer require laravel/breeze 

php artisan breeze:install api

@taylorotwell taylorotwell changed the title Breeze "API" Mode Breeze "API" / SPA Stack Dec 1, 2021
@mul14
Copy link

mul14 commented Dec 2, 2021

These files should be removed:

  • stubs/default/.DS_Store
  • stubs/default/pest-tests/.DS_Store

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants