Remove laravel/ui and php artisan ui vue --auth in Laravel 7

Viewed 8549

I installed the laravel/ui and php artisan ui vue --auth in my laravel projec, but now I want them removed. How do I do it?

Using composer update vendor/package-name didn't work and the auth folders still exist.

2 Answers

You can remove the package by running composer remove laravel/ui but you need to manually need to remove blade and controller files. Also, you need to update the web.php route file.

You can also remove this from composer.json then run the composer update command.

Related