bastinald / laravel-livewire-routes Goto Github PK
View Code? Open in Web Editor NEWLaravel Livewire full page component routing.
Laravel Livewire full page component routing.
I am the creator of this package
Package has been moved here: https://github.com/legodion/convoy
It has been updated for Laravel 9 etc, and that repo will be actively maintained going forward.
Should this be automagically registered as a service provider in laravel 8 and using composer to install the package? Right now when I simply install it and try to use it within a livewire component, I am getting an exception that the Route class is not found. Sorry, I know I am missing something basic.
Hello,
First thanks for all the work you are doing here.
I tried to play a little bit with your ui repository, and it worked well. After I had discovered that the project have been archived, I tried to update my local work ... and I got an an error with the route bundle.
Linked to your fix 41ce866
Indeed, you are playing with paths & realpath function, and then this is sensible about windows/linux directory separators.
Going back to the DIRECTORY_SEPARATOR fix the issue.
$component = $namespace . str_replace(
['/', '.php'],
['\\', ''],
Str::after($component->getRealPath(), realpath(app_path()) . DIRECTORY_SEPARATOR)
);
Issue:
Install fresh laravel, and install bastinald/laravel-livewire-ui. No route found (no Welcome, nor Home)
System: Windows & XAMPP
Fix:
Use DIRECTORY_SEPARATOR (rollback).
Is it possible to use this with vanilla components? Trying to reduce the number of livewire components when livewire isnt needed in order to reduce the number of nested livewire component issues that I have to overcome. I do though love being able to do my routes right in the component.
laravel 9 integration
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.