HTMLMin / Laravel-HTMLMin

A simple HTML minifier for Laravel 5, 6, 7, 8 & 9.
MIT License
1.02k stars 119 forks source link

Livewire conflict #160

Open usamaits opened 3 years ago

usamaits commented 3 years ago

### Description: I just spend a a whole day trying to track livewire dashboard error : "The "{path-to-project}app/Http/Livewire" directory does not exist. (View: {path-project}\resources\views\layouts\app.blade.php)", until I figure out that this package somehow conflict after success login with jetstream with clean install laravel + jetstream + livewire + Laravel-HTMLMin

composer.json :: "require": { "php": "^7.3|^8.0", "fideloper/proxy": "^4.4", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", "htmlmin/htmlmin": "^8.0", "laravel/framework": "^8.12", "laravel/jetstream": "^2.1", "laravel/sanctum": "^2.6", "laravel/tinker": "^2.5", "livewire/livewire": "^2.0"

### Steps To Reproduce:

  1. composer create-project laravel/laravel project
  2. php artisan vendor:publish --all
  3. composer require laravel/jetstream
  4. php artisan vendor:publish --all
  5. php artisan jetstream:install livewire
  6. npm install
  7. npm run dev
  8. php artisan migrate
  9. php artisan vendor:publish --tag=jetstream-views
  10. composer require htmlmin/htmlmin
  11. browse to {project}
  12. register
  13. dashboard error.