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

[1.x] Adds Livewire stack 🐙 #314

Merged
merged 73 commits into from
Sep 20, 2023
Merged

[1.x] Adds Livewire stack 🐙 #314

merged 73 commits into from
Sep 20, 2023

Conversation

nunomaduro
Copy link
Member

@nunomaduro nunomaduro commented Sep 15, 2023

breeze:install

This pull request introduces the Livewire 🐙 stack to Laravel Breeze. It uses Volt for single file components, and its based class API. Here's how you can test this pull request locally:

# Select "No starter kit"
laravel new breeze-livewire

cd breeze-livewire
composer require laravel/breeze:dev-feat/livewire
php artisan breeze:install livewire --dark --pest
sed -i.bak '/DB_/d' ./.env
echo "DB_CONNECTION=sqlite" >> .env
php artisan migrate --force
php artisan serve

The functional API will follow, in a separate pull request.

@WendellAdriel
Copy link

@WendellAdriel At this moment, we only plan to provide the single file components option, so the Volt extension with Class API or Functional API.

Got it!
Thanks for this implementation, it rocks!!! 🔥 🚀

@nunomaduro nunomaduro marked this pull request as ready for review September 18, 2023 17:41
@lucasjose501
Copy link

I don't have anything against Volt, but would be great to have an option to use Volt or plain Livewire components. Is that something that's planned?

2 versions maybe? "Livewire with Volt" and "Livewire with default components"

@Jubeki
Copy link
Contributor

Jubeki commented Sep 19, 2023

Works great!

It seems like the Livewire stack is missing from the test matrix.

@nunomaduro
Copy link
Member Author

@Jubeki well spotted!

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.

7 participants