wire-elements / wire-extender

Wire Extender allows you to embed any Livewire component on any website or even within a static HTML file.
https://wire-elements.dev/blog/embed-livewire-components-using-wire-extender
MIT License
245 stars 9 forks source link

"replace the default middleware" #32

Open ahosker opened 1 month ago

ahosker commented 1 month ago

Could do with updating documentation.

For Laravel 11, the instructions say Next, replace the default middleware

Where is that file?

I've just spun up a new project, Laravel 11.9, to try this out.

EDIT: Found it. Its at bootstrap\app.php

ahosker commented 1 month ago

I also dont seem to have config/wire-extender.php.

I did run the php artisan vendor:publish --tag=wire-extender command.

EDIT: Done, I manually copied it from the package, to config directory.