D
D
Dauren S2017-02-08 14:59:57
Network administration
Dauren S, 2017-02-08 14:59:57

How to overwrite route in vendor Laravela?

Put Laravel 5.4 on it the AdminLTE template. vendore has a route that shows the admin panel at the url site.ru/home. If you change this route in vendor, then it will still be overwritten with composer update. How to overwrite or delete this route without changing it in the vendor folder?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Finsh, 2017-02-08
@Finsh

Vendor is forbidden to touch by federal and regional laws of everything!
If my memory serves me, then in 5.3 to deploy AdminLTE, you need to publish the package files.
php artisan publish

A
Alex Wells, 2017-02-09
@Alex_Wells

Answer: use laravel-elixir instead of the new laravel-mix, build a couple of tasks for gulp, and roll adminlte manually. That package is of no use - it is tailored for the most basic needs, a lot of things are not there, and it is uncontrollable)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question