July 10, 2021
Laravel 8 & AdminLTE
- composer global require laravel/installer
- laravel new example-app
- cd example-app
- Create database
- update .env file
- php artisan migrate:fresh
- composer require infyomlabs/laravel-ui-adminlte
- php artisan ui adminlte
- php artisan ui adminlte –auth
- npm install && npm run dev
src: https://levelup.gitconnected.com/integrating-adminlte-3-and-laravel-8-51c1555efa60
In .env
added
APP_URL=http://localhost:8000
MIX_ASSET_URL=http://localhost:8000
MIX_ASSET_URL=http://localhost/example-app/public/
In config/app.php
'mix_url' => env('MIX_ASSET_URL', null)
https://stackoverflow.com/questions/65492953/wrong-laravel-mix-rewrite-url-path-when-place-project-in-subfolder