jeroennoten / Laravel-AdminLTE

Easy AdminLTE integration with Laravel
MIT License
3.83k stars 1.09k forks source link

QUESTION: Use bootstrap 4 #183

Closed Xsur closed 5 years ago

Xsur commented 6 years ago

how can i use bosstrap 4 css on this theme u currently in use laravel 5.5 but i put some boostrap 4 component on content section the style is not change

image

image

Lucky-Loek commented 6 years ago

This repo closely follow the official AdminLTE repo. Since that one is still on Bootstrap 3, this is too.

You can however edit the templates and swap out the Bootstrap 3 css imports for your own (in this case, Bootstrap 4!): Check chapter 7 of the README

Xsur commented 6 years ago

ty for the responds,but first sorry im still new in laravel i think i had import boostrap 4 to laravel cause currently in use new laravel version but when i put boostrap 4 element like card its not work the style is not change like boostra4 documentation

Lucky-Loek commented 6 years ago

This has nothing to do with Laravel. Check your HTML / Blade files. In the AdminLTE views, Bootstrap 3 is imported. Just change this to import Bootstrap 4 and you're okay.

ErmenegildoCumbe commented 6 years ago

Morning, first of all sorry for my bad inglesh. I'm trying to use this template for a very first time, so i'm facing a problem whem i try to use it. I have followed all the instructions on de ReadMe file but it doesn't work for me.

I'm using Laravel 5.5. Would like to know how you implemented it in your projects, if u extracted the files to project or used other way... Thamks

Lucky-Loek commented 6 years ago

Morning, first of all sorry for my bad inglesh. I'm trying to use this template for a very first time, so i'm facing a problem whem i try to use it. I have followed all the instructions on de ReadMe file but it doesn't work for me. I'm using Laravel 5.5. Would like to know how you implemented it in your projects, if u extracted the files to project or used other way... Thamks

It seems like you have a different question than what this topic is about. Please open a new question and explain thoroughly what you have done and what issue you're facing. "It doesn't work" isn't helpful enough for us to help you.

resslinger commented 5 years ago

Please wait for the official AdminLTE3 package. So we make this project compatible with AdminLTE3.

garbinmarcelo commented 5 years ago

Hi, any news? what's the progress so far? thanks

resslinger commented 5 years ago

@REJack and I work hard on the new version 3 which include AdminLTE v3 with Bootstrap 4. This will be only available with Laravel 6.

garbinmarcelo commented 5 years ago

@REJack and I work hard on the new version 3 which include AdminLTE v3 with Bootstrap 4. This will be only available with Laravel 6.

Very good, thank you for your effort.

AdminLTE is a great admin panel, but I am pending to change it as it is already getting depleted by using Bootstrap 3.

I'm in a new project using Laravel 6, I tried to use the package with this version, but to no avail.

Error occurs when publishing assets. I made this config in composer:

When I publish the assets this error occurs:

Copied Directory [/vendor/jeroennoten/laravel-adminlte/resources/views] To [/resources/views/vendor/adminlte]
Copied Directory [/vendor/jeroennoten/laravel-adminlte/resources/lang] To [/resources/lang/vendor/adminlte]
Can't locate path: </var/www/vendor/jeroennoten/laravel-adminlte/src/../resources/assets>
Publishing complete.

image

Already available for use? How can I proceed?

resslinger commented 5 years ago

We changed the assets installer, so it's not stable at the moment. We work on it.

resslinger commented 5 years ago

@marcelogarbin you can try the new install command: adminlte:install We integrated AdminLTE as composer dependency so we can update faster as actual.

garbinmarcelo commented 5 years ago

I run the command here, without errors. But the page was not 100%. Not looking properly for assets, so I looked like they were published outside the public/vendor/admin folder..

image

image

image

garbinmarcelo commented 5 years ago

I removed the old views and ran the command again: adminlte:install --force looks like it went well ...

image

garbinmarcelo commented 5 years ago

@lacodimizer Can I use this version for new projects or should I wait longer? Thanks

resslinger commented 5 years ago

Not for production use, but you can use it on own risk ;)

garbinmarcelo commented 5 years ago

Not for production use, but you can use it on own risk ;)

Thanks for the feedback. I really am out of time to help right away. I really liked the project, especially the menu can be added via providers (I currently use AdminLTE, but manually without this package - I found it by chance).. Maybe in the future I can collaborate with the project.

resslinger commented 5 years ago

I close the issue. Please follow the issue #334 which give updates for AdminLTE v3 with Bootstrap 4 support.