Standard Laravel install to develop Livewire
Run lando start
, grab a coffee and after all is said and done you should be able to access the sanbox project on https://livewire-sandbox.lndo.site`
To do local development of the Livewire framework and see the changes instantly follow this steps once your application is up and running:
- Go to
app/vendor/calebporzio/
- Move the
livewire
folder to a backup likelivewire.bak
- Clone the livewire repo:
git clone [email protected]:42mate/livewire.git
- Install npm packages:
cd livewire && npm install
- Launche the watch script to have your JS changes compile instantly:
npm run watch
- Develop away!
Once you have some code to commit and push do so from the livewire
folder.