bastinald / laravel-livewire-ui Goto Github PK
View Code? Open in Web Editor NEWLaravel Livewire UI, Auth, & CRUD starter kit.
Laravel Livewire UI, Auth, & CRUD starter kit.
After installation, the site throws an "Persmission denied" error.
file_get_contents(D:\LARAGON\www\laravel-hp\app/Http/Livewire\Auth): failed to open stream: Permission denied
php artisan migrate:auto throws the same error.
can you please do a repo for this on livewire spa http://instantclick.io/
Hey,
First of all, thank you very much for the excellent package.
I wanted to check if the components can be changed from Bootstrap to TailwindCSS? I understand, this package along with others use Bootstrap. But we are using TailwindCSS and wanted to check with you if there is an option to change Bootstrap to TailwindCSS.?
Thanks again,
Milan
I am the developer of this package.
This package is no longer being maintained and has moved here: https://github.com/legodion/zephyr
Zephyr has a lot of improvements, L9 support, and new features.
Hello,
I got since the V1 of this package an issue when I create a CRUD. Indeed, the package create a folder index.blade.php, with the blade files inside.
xxx/index.blade.php/index.blade.php
xxx/index.blade.php/read.blade.php
...
Since I updated the package, I have now a blocking error
ErrorException
mkdir(): No such file or directory
at S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php:587
[...]
2 S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php:568
Illuminate\Filesystem\Filesystem::makeDirectory("S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\resources\views/member\users\index.blade.php")
With an echo:
File created: app/Http/Livewire//Member/Users\Index.php
create path=app/Http/Livewire//Member/Users\Password.php
File created: app/Http/Livewire//Member/Users\Password.php
create path=app/Http/Livewire//Member/Users\Read.php
File created: app/Http/Livewire//Member/Users\Read.php
create path=app/Http/Livewire//Member/Users\Save.php
File created: app/Http/Livewire//Member/Users\Save.php
create path=S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\resources\views/member\users\index.blade.php\index.blade.php
-> folder with a file extension + two relative path joined.
With some debugging:
S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3>php artisan make:crud Member\User --force
array:6 [
"componentDir" => "app/Http/Livewire//Member/Users"
"componentParser->relativeClassPath" => "app/Http/Livewire//Member/Users/Index.php"
"vewDir" => "S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\resources\views/member\users\index.blade.php"
"componentParser>relativeViewPath" => "S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\resources\views/member\users\index.blade.php"
'config(livewire.class_namespace)' => "App\Http\Livewire"
'config(livewire.view_path)' => "S:\Devs\xampp\htdocs\www\projects\p4_lv8_my_work\my_work3\resources\views"
]
It seems that on MakeCrudCommand.php, the componentParser is building the relativeViewPath with an relative path.
path comming from 'view_path' => resource_path('views'),
I fixed the two issues with:
private function cleanPath($path) {
$path = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $path);
return $path;
}
$this->componentDir = Str::replaceLast(DIRECTORY_SEPARATOR . 'Index.php', '', $this->cleanPath($this->componentParser->relativeClassPath()));
$this->viewDir = Str::replaceLast(DIRECTORY_SEPARATOR . 'index.blade.php', '', $this->cleanPath($this->componentParser->relativeViewPath()));
private function makeStubs()
{
[...]
$basePath = base_path(str_replace(base_path(), '', $path));
[...]
}
Hello! Great job, really!
I noticed you have weak typing (and missing docblocks) at all the components available.
I know is there are stubs to modify, but most junior-mids will not go make the code stricter and will just use it as it is.
Do you have any plans to improve the code quality of the package?
Nice package ... what happened to the video tutorial? Is there addition documentation or demo available?
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.